diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/time.h | 4 | ||||
-rw-r--r-- | include/unistd.h | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/include/time.h b/include/time.h index 9bbcd8be0..12d7e6c61 100644 --- a/include/time.h +++ b/include/time.h @@ -108,15 +108,11 @@ extern time_t timelocal __P ((struct tm *__tp)); #endif -#if defined(_POSIX_THREAD_SAFE_FUNCTIONS) || defined(_REENTRANT) - extern char * asctime_r __P((__const struct tm *, char *)); extern char * ctime_r __P((__const time_t *, char *)); extern struct tm* gmtime_r __P((__const time_t *, struct tm *)); extern struct tm* localtime_r __P((__const time_t *, struct tm *)); -#endif - struct timespec; /* IEEE Std 1003.1b-1993. */ diff --git a/include/unistd.h b/include/unistd.h index a9f9e4179..8da0ffe90 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -23,7 +23,10 @@ #ifndef _UNISTD_H #define _UNISTD_H 1 +#include <errno.h> #include <features.h> +#include <sys/types.h> +#include <asm/unistd.h> __BEGIN_DECLS @@ -173,6 +176,8 @@ __BEGIN_DECLS */ #include <bits/posix_opt.h> +/* At this time, we don't do pthreads... Sorry... */ +#undef _POSIX_THREADS /* Get the environment definitions from Unix98. */ #ifdef __USE_UNIX98 |