1
0

patch-inc_toast_h 507 B

1234567891011121314151617181920212223242526272829
  1. $Id$
  2. --- gsm-1.0-pl10.orig/inc/toast.h Tue Jul 2 16:32:29 1996
  3. +++ gsm-1.0-pl10/inc/toast.h Sat Jan 20 13:06:50 2007
  4. @@ -16,11 +16,12 @@
  5. #include <stdio.h>
  6. #include <ctype.h>
  7. +#include <pthread.h>
  8. #include <signal.h>
  9. #include <errno.h>
  10. -#ifndef HAS_ERRNO_DECL
  11. - extern int errno;
  12. +#ifndef errno
  13. + extern int errno;
  14. #endif
  15. #ifdef HAS_LIMITS_H
  16. @@ -35,6 +36,10 @@
  17. # ifdef HAS_UTIME_H
  18. # include <utime.h>
  19. # endif
  20. +#endif
  21. +
  22. +#ifdef HAS_STDIO_H
  23. +# include <stdio.h>
  24. #endif
  25. #include "gsm.h"