git-svn: trunk@3419
aCaB authored on 2007/12/15 02:22:16... | ... |
@@ -22,11 +22,18 @@ |
22 | 22 |
#endif |
23 | 23 |
|
24 | 24 |
#include <stdio.h> |
25 |
-#include <stdint.h> |
|
25 |
+#if HAVE_STDLIB_H |
|
26 | 26 |
#include <stdlib.h> |
27 |
+#endif |
|
28 |
+#if HAVE_STRING_H |
|
27 | 29 |
#include <string.h> |
30 |
+#endif |
|
31 |
+#if HAVE_SYS_TYPES_H |
|
28 | 32 |
#include <sys/types.h> |
33 |
+#endif |
|
34 |
+#if HAVE_SYS_STAT_H |
|
29 | 35 |
#include <sys/stat.h> |
36 |
+#endif |
|
30 | 37 |
#include <fcntl.h> |
31 | 38 |
#include <zlib.h> |
32 | 39 |
|