diff options
Diffstat (limited to 'package/gsm/patches/patch-inc_toast_h')
-rw-r--r-- | package/gsm/patches/patch-inc_toast_h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/package/gsm/patches/patch-inc_toast_h b/package/gsm/patches/patch-inc_toast_h new file mode 100644 index 000000000..9772f077c --- /dev/null +++ b/package/gsm/patches/patch-inc_toast_h @@ -0,0 +1,29 @@ +$Id$ +--- gsm-1.0-pl10.orig/inc/toast.h Tue Jul 2 16:32:29 1996 ++++ gsm-1.0-pl10/inc/toast.h Sat Jan 20 13:06:50 2007 +@@ -16,11 +16,12 @@ + + #include <stdio.h> + #include <ctype.h> ++#include <pthread.h> + #include <signal.h> + + #include <errno.h> +-#ifndef HAS_ERRNO_DECL +- extern int errno; ++#ifndef errno ++ extern int errno; + #endif + + #ifdef HAS_LIMITS_H +@@ -35,6 +36,10 @@ + # ifdef HAS_UTIME_H + # include <utime.h> + # endif ++#endif ++ ++#ifdef HAS_STDIO_H ++# include <stdio.h> + #endif + + #include "gsm.h" |