diff options
Diffstat (limited to 'src/include/platform.h')
-rw-r--r-- | src/include/platform.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/platform.h b/src/include/platform.h index d027826..ab20d3d 100644 --- a/src/include/platform.h +++ b/src/include/platform.h | |||
@@ -44,6 +44,7 @@ | |||
44 | #include <ctype.h> | 44 | #include <ctype.h> |
45 | #include <stdlib.h> | 45 | #include <stdlib.h> |
46 | #include <stdio.h> | 46 | #include <stdio.h> |
47 | #include <stdint.h> | ||
47 | #include <fcntl.h> | 48 | #include <fcntl.h> |
48 | #include <time.h> | 49 | #include <time.h> |
49 | #include <utime.h> | 50 | #include <utime.h> |
@@ -65,6 +66,10 @@ | |||
65 | #include <iconv.h> | 66 | #include <iconv.h> |
66 | #include <langinfo.h> | 67 | #include <langinfo.h> |
67 | 68 | ||
69 | #ifndef SIZE_MAX | ||
70 | #define SIZE_MAX ((size_t)-1) | ||
71 | #endif | ||
72 | |||
68 | #if DARWIN | 73 | #if DARWIN |
69 | #include <mach-o/dyld.h> | 74 | #include <mach-o/dyld.h> |
70 | #include <mach-o/ldsyms.h> | 75 | #include <mach-o/ldsyms.h> |