brightness: fix openSUSE build
This commit is contained in:
parent
bbe00e7cb7
commit
5bc01923ee
@ -33,8 +33,12 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <dirent.h>
|
||||
|
||||
#include <linux/i2c.h>
|
||||
#include <linux/i2c-dev.h>
|
||||
#ifndef I2C_FUNC_I2C
|
||||
// Fuck you, openSUSE, for fucking up the previous file, see e.g.
|
||||
// https://github.com/solettaproject/soletta/commit/427f47f
|
||||
#include <linux/i2c.h>
|
||||
#endif
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user