packages/utils/i2c-tools/patches/100-linux_include.patch

11 lines
195 B
Diff
Raw Normal View History

--- a/py-smbus/smbusmodule.c
+++ b/py-smbus/smbusmodule.c
@@ -21,6 +21,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
+#include <linux/i2c.h>
#include <linux/i2c-dev.h>
/*