aboutsummaryrefslogtreecommitdiffstats
path: root/lcd4linux_i2c.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lcd4linux_i2c.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lcd4linux_i2c.h b/lcd4linux_i2c.h
index 14c4508..f6820b3 100644
--- a/lcd4linux_i2c.h
+++ b/lcd4linux_i2c.h
@@ -1,4 +1,4 @@
-/* $Id: lcd4linux_i2c.h 728 2007-01-14 11:14:38Z michael $
+/* $Id: lcd4linux_i2c.h 1164 2011-12-22 10:48:01Z mjona $
* $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/lcd4linux_i2c.h $
*
* user space i2c sturctures and defines, taken from the official kernel i2c
@@ -459,6 +459,7 @@ struct i2c_rdwr_ioctl_data {
#define I2C_RDRW_IOCTL_MAX_MSGS 42
+#include <stdlib.h>
#include <sys/ioctl.h>
static inline __s32 i2c_smbus_access(int file, char read_write, __u8 command, int size, union i2c_smbus_data *data)