packages/utils/i2c-tools/patches/100-linux_include.patch
swalker 8491ec93a4 [packages] i2c-tools: update to 3.0.3, refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-05 21:27:53 +00:00

11 lines
195 B
Diff

--- 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>
/*