diff options
Diffstat (limited to '')
-rw-r--r-- | drv_generic_text.h | 1 | ||||
-rw-r--r-- | lcd4linux_i2c.h | 1 | ||||
-rw-r--r-- | timer.h | 1 | ||||
-rw-r--r-- | widget_bar.h | 2 | ||||
-rw-r--r-- | widget_gpo.h | 1 | ||||
-rw-r--r-- | widget_icon.h | 1 | ||||
-rw-r--r-- | widget_image.h | 1 | ||||
-rw-r--r-- | widget_keypad.h | 1 | ||||
-rw-r--r-- | widget_text.h | 1 | ||||
-rw-r--r-- | widget_timer.h | 1 |
10 files changed, 11 insertions, 0 deletions
diff --git a/drv_generic_text.h b/drv_generic_text.h index fdc0f4d..6e17720 100644 --- a/drv_generic_text.h +++ b/drv_generic_text.h @@ -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 */ diff --git a/lcd4linux_i2c.h b/lcd4linux_i2c.h index 1a0fce8..8fc7a2a 100644 --- a/lcd4linux_i2c.h +++ b/lcd4linux_i2c.h @@ -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) @@ -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); diff --git a/widget_bar.h b/widget_bar.h index 9f3c280..fcaeb8c 100644 --- a/widget_bar.h +++ b/widget_bar.h @@ -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; diff --git a/widget_gpo.h b/widget_gpo.h index 856d022..f64a4cd 100644 --- a/widget_gpo.h +++ b/widget_gpo.h @@ -29,6 +29,7 @@ #define _WIDGET_GPO_H_ #include "property.h" +#include "widget.h" typedef struct WIDGET_GPO { PROPERTY expression; /* main GPO expression */ diff --git a/widget_icon.h b/widget_icon.h index 2eb2f08..112199c 100644 --- a/widget_icon.h +++ b/widget_icon.h @@ -29,6 +29,7 @@ #define _WIDGET_ICON_H_ #include "property.h" +#include "widget.h" typedef struct WIDGET_ICON { PROPERTY speed; /* update interval (msec) */ diff --git a/widget_image.h b/widget_image.h index 8e66d45..ef4806a 100644 --- a/widget_image.h +++ b/widget_image.h @@ -29,6 +29,7 @@ #define _WIDGET_IMAGE_H_ #include "property.h" +#include "widget.h" #include "rgb.h" typedef struct WIDGET_IMAGE { diff --git a/widget_keypad.h b/widget_keypad.h index 3478697..273941a 100644 --- a/widget_keypad.h +++ b/widget_keypad.h @@ -29,6 +29,7 @@ #define _WIDGET_KEYPAD_H_ #include "property.h" +#include "widget.h" typedef enum { WIDGET_KEY_UP = 1, diff --git a/widget_text.h b/widget_text.h index 085ea49..78d5863 100644 --- a/widget_text.h +++ b/widget_text.h @@ -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 diff --git a/widget_timer.h b/widget_timer.h index df2aebb..77c2f11 100644 --- a/widget_timer.h +++ b/widget_timer.h @@ -29,6 +29,7 @@ #define _WIDGET_TIMER_H_ #include "property.h" +#include "widget.h" typedef struct WIDGET_TIMER { PROPERTY expression; /* main timer expression */ |