]> granicus.if.org Git - curl/commitdiff
Ellis Pritchard <ellis@citria.com> made it work for MacOS X
authorDaniel Stenberg <daniel@haxx.se>
Thu, 10 Feb 2000 23:28:10 +0000 (23:28 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 10 Feb 2000 23:28:10 +0000 (23:28 +0000)
lib/getdate.y

index d60be3cf0acd0e6d8f01fef2f4da15cbb484f2dc..6ae7eff325fff7b35112ac8aed75cbbf900f9d1a 100644 (file)
 # 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>