diff options
author | Daniel Stenberg <daniel@haxx.se> | 2000-02-10 23:28:10 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2000-02-10 23:28:10 +0000 |
commit | efb410a188fb7f5a9f1d572db1d98b5e3c790a83 (patch) | |
tree | 7b18c55e8e66b6b9e2884c3e209f6acf8af6c6f3 /lib | |
parent | 9ef5f5ef5ae01355f9006b0f9fbaacd3b9ca1cee (diff) |
Ellis Pritchard <ellis@citria.com> made it work for MacOS X
Diffstat (limited to 'lib')
-rw-r--r-- | lib/getdate.y | 5 |
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> |