aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-05-17 06:04:44 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-05-17 06:04:44 +0000
commit0427e94465661ef1b8127c3cd483dc5ffab04f2a (patch)
treea9c6868ef5a6fdc21aeb3b89f1653eed9e82bd2f /lib
parent09fd3b4935afbc6e2b564ebedb5758fed6acfa12 (diff)
Added support for compiling under Minix 3.1.3 using ACK.
Diffstat (limited to 'lib')
-rw-r--r--lib/setup.h6
1 files changed, 6 insertions, 0 deletions
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 "."