]> git.webhop.me Git - lcd4linux.git/commitdiff
All compilation related issues in the headers have been fixed. Now each header compil...
authormjona <mjona@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Thu, 22 Dec 2011 10:48:01 +0000 (10:48 +0000)
committermjona <mjona@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Thu, 22 Dec 2011 10:48:01 +0000 (10:48 +0000)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1164 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

drv_generic_text.h
lcd4linux_i2c.h
timer.h
widget_bar.h
widget_gpo.h
widget_icon.h
widget_image.h
widget_keypad.h
widget_text.h
widget_timer.h

index fdc0f4d1b5a9003417168ca55a9770c68a620562..6e1772041deb0f42cdf8a74b98cf94a7483d2ea2 100644 (file)
@@ -31,6 +31,7 @@
 
 #include "drv_generic.h"
 #include "widget.h"
+#include "widget_bar.h"
 
 extern int CHARS, CHAR0;       /* number of user-defineable characters, ASCII of first char */
 extern int ICONS;              /* number of user-defineable characters reserved for icons */
index 1a0fce8867b27fc6c3310e22860ea975bf32e56c..8fc7a2a2923b3df4558cb5b475b6f4ac79f0872d 100644 (file)
@@ -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)
diff --git a/timer.h b/timer.h
index 127099da5141542453ed936ab6005dd7717fa6ae..32681828dc6e77a2c47ec32b5d4f3183acaaea6f 100644 (file)
--- a/timer.h
+++ b/timer.h
@@ -28,6 +28,7 @@
 #ifndef _TIMER_H_
 #define _TIMER_H_
 
+#include <time.h>
 
 int timer_add(void (*callback) (void *data), void *data, const int interval, const int one_shot);
 
index 9f3c2802fc23c0eeaa2f599d8cbeebc213118e47..fcaeb8c8121354c967a7a5e08527c2719898f018 100644 (file)
@@ -29,6 +29,8 @@
 #define _WIDGET_BAR_H_
 
 #include "property.h"
+#include "widget.h"
+#include "rgb.h"
 
 typedef enum { DIR_EAST = 1, DIR_WEST = 2, DIR_NORTH = 4, DIR_SOUTH = 8 } DIRECTION;
 typedef enum { STYLE_HOLLOW = 1, STYLE_FIRST = 2, STYLE_LAST = 4 } STYLE;
index 856d02228c1fbc94efceea6e3aad0c8dcf25c2f0..f64a4cdc3a8da0797362b8af96e7e99be1d7f709 100644 (file)
@@ -29,6 +29,7 @@
 #define _WIDGET_GPO_H_
 
 #include "property.h"
+#include "widget.h"
 
 typedef struct WIDGET_GPO {
     PROPERTY expression;       /* main GPO expression */
index 2eb2f08eb391a688eac824154fc6c228c1e21d6f..112199c8da8548d9704a6f763e1aa536a991c92c 100644 (file)
@@ -29,6 +29,7 @@
 #define _WIDGET_ICON_H_
 
 #include "property.h"
+#include "widget.h"
 
 typedef struct WIDGET_ICON {
     PROPERTY speed;            /* update interval (msec) */
index 8e66d45066e8a3cc10853211bbb5351c484f219e..ef4806a29d2d079d948119aa54c133f083a2863b 100644 (file)
@@ -29,6 +29,7 @@
 #define _WIDGET_IMAGE_H_
 
 #include "property.h"
+#include "widget.h"
 #include "rgb.h"
 
 typedef struct WIDGET_IMAGE {
index 3478697ad3c1fa6b8c8c76cbe5afb8cf002f28f6..273941a02813d31e7b64df0a3fe7a9238a4dbd2f 100644 (file)
@@ -29,6 +29,7 @@
 #define _WIDGET_KEYPAD_H_
 
 #include "property.h"
+#include "widget.h"
 
 typedef enum {
     WIDGET_KEY_UP = 1,
index 085ea498f6b1b967ce933699337f73d4d5745b77..78d58635dfffb57b87459fc3e5c0d3006721d3db 100644 (file)
@@ -29,6 +29,7 @@
 #define _WIDGET_TEXT_H_
 
 #include "property.h"
+#include "widget.h"
 
 typedef enum { ALIGN_LEFT, ALIGN_CENTER, ALIGN_RIGHT, ALIGN_MARQUEE, ALIGN_AUTOMATIC, ALIGN_PINGPONG_LEFT,
     ALIGN_PINGPONG_CENTER, ALIGN_PINGPONG_RIGHT
index df2aebb2cd0ca1b7c08ad21ebfcb2419a2199d16..77c2f116829fd21d28cbc2af34322f930783dbcf 100644 (file)
@@ -29,6 +29,7 @@
 #define _WIDGET_TIMER_H_
 
 #include "property.h"
+#include "widget.h"
 
 typedef struct WIDGET_TIMER {
     PROPERTY expression;       /* main timer expression */