packages/utils/i2c-tools/patches/100-linux_include.patch
claudio 5c22d9ebae [packages] i2c-tools: Package also the python bindings
git-svn-id: svn://svn.openwrt.org/openwrt/packages@22376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-24 13:08:35 +00:00

14 lines
415 B
Diff

Index: i2c-tools-3.0.2/py-smbus/smbusmodule.c
===================================================================
--- i2c-tools-3.0.2.orig/py-smbus/smbusmodule.c 2010-07-23 23:09:16.000000000 +0200
+++ i2c-tools-3.0.2/py-smbus/smbusmodule.c 2010-07-23 23:09:29.000000000 +0200
@@ -21,6 +21,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
+#include <linux/i2c.h>
#include <linux/i2c-dev.h>
/*