From 0427e94465661ef1b8127c3cd483dc5ffab04f2a Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 17 May 2007 06:04:44 +0000 Subject: Added support for compiling under Minix 3.1.3 using ACK. --- lib/setup.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib') diff --git a/lib/setup.h b/lib/setup.h index 201f374ba..3eb6718ee 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -259,6 +259,12 @@ #define sclose(x) CloseSocket(x) #endif +#ifdef __minix +/* Minix 3 versions up to at least 3.1.3 are missing these prototypes */ +extern char * strtok_r(char *s, const char *delim, char **last); +extern struct tm * gmtime_r(const time_t * const timep, struct tm *tmp); +#endif + #define DIR_CHAR "/" #ifndef DOT_CHAR #define DOT_CHAR "." -- cgit v1.2.3