$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 #include +#include #include #include -#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 # endif +#endif + +#ifdef HAS_STDIO_H +# include #endif #include "gsm.h"