From 5bc01923ee68e5bf65fb4cacb2b75a2ee6a33539 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Sun, 13 Mar 2016 01:45:36 +0100
Subject: brightness: fix openSUSE build
---
brightness.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/brightness.c b/brightness.c
index ac79563..3da1839 100644
--- a/brightness.c
+++ b/brightness.c
@@ -33,8 +33,12 @@
#include
#include
-#include
#include
+#ifndef I2C_FUNC_I2C
+// Fuck you, openSUSE, for fucking up the previous file, see e.g.
+// https://github.com/solettaproject/soletta/commit/427f47f
+#include
+#endif
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
--
cgit v1.2.3-70-g09d2