summaryrefslogtreecommitdiff
path: root/package/gsm/patches/patch-inc_toast_h
blob: 9772f077c11b49c48e35e4118d9b9cf3e627cb90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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"