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

14 lines
415 B
Diff
Raw Normal View History

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