Index: apps/plugin.c =================================================================== RCS file: /cvsroot/rockbox/apps/plugin.c,v retrieving revision 1.146 diff -u -r1.146 plugin.c --- apps/plugin.c 7 Feb 2006 20:38:55 -0000 1.146 +++ apps/plugin.c 10 Feb 2006 00:19:39 -0000 @@ -16,6 +16,7 @@ * KIND, either express or implied. * ****************************************************************************/ + #include #include #include @@ -182,7 +183,7 @@ button_get_w_tmo, button_status, button_clear_queue, -#if CONFIG_KEYPAD == IRIVER_H100_PAD +#if CONFIG_KEYPAD == IRIVER_H100_PAD || CONFIG_KEYPAD == IRIVER_H300_PAD button_hold, #endif @@ -243,6 +244,7 @@ #endif /* strings and memory */ + vsnprintf, snprintf, strcpy, strncpy, Index: apps/plugin.h =================================================================== RCS file: /cvsroot/rockbox/apps/plugin.h,v retrieving revision 1.155 diff -u -r1.155 plugin.h --- apps/plugin.h 7 Feb 2006 20:38:55 -0000 1.155 +++ apps/plugin.h 10 Feb 2006 00:19:39 -0000 @@ -29,6 +29,7 @@ #define MEM 2 #endif +#include #include #include #include @@ -233,7 +234,7 @@ long (*button_get_w_tmo)(int ticks); int (*button_status)(void); void (*button_clear_queue)(void); -#if CONFIG_KEYPAD == IRIVER_H100_PAD +#if CONFIG_KEYPAD == IRIVER_H100_PAD || CONFIG_KEYPAD == IRIVER_H300_PAD bool (*button_hold)(void); #endif @@ -297,6 +298,7 @@ #endif /* strings and memory */ + int (*vsnprintf)(char *buf, int size, const char *fmt, va_list ap); int (*snprintf)(char *buf, size_t size, const char *fmt, ...); char* (*strcpy)(char *dst, const char *src); char* (*strncpy)(char *dst, const char *src, size_t length);