summaryrefslogtreecommitdiff
path: root/lib/getdate.y
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-02-10 23:28:10 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-02-10 23:28:10 +0000
commitefb410a188fb7f5a9f1d572db1d98b5e3c790a83 (patch)
tree7b18c55e8e66b6b9e2884c3e209f6acf8af6c6f3 /lib/getdate.y
parent9ef5f5ef5ae01355f9006b0f9fbaacd3b9ca1cee (diff)
downloadcurl-efb410a188fb7f5a9f1d572db1d98b5e3c790a83.tar.gz
Ellis Pritchard <ellis@citria.com> made it work for MacOS X
Diffstat (limited to 'lib/getdate.y')
-rw-r--r--lib/getdate.y5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/getdate.y b/lib/getdate.y
index d60be3cf0..6ae7eff32 100644
--- a/lib/getdate.y
+++ b/lib/getdate.y
@@ -25,7 +25,12 @@
# undef static
#endif
+#ifdef __APPLE__
+#include <sys/types.h>
+#include <sys/malloc.h>
+#else
#include <malloc.h>
+#endif
#include <string.h>
#include <stdio.h>
#include <ctype.h>