git-svn: trunk@2689
aCaB authored on 2007/02/10 05:14:50... | ... |
@@ -31,11 +31,21 @@ |
31 | 31 |
#endif |
32 | 32 |
|
33 | 33 |
#include <stdio.h> |
34 |
+#ifdef HAVE_STDLIB_H |
|
34 | 35 |
#include <stdlib.h> |
36 |
+#endif |
|
37 |
+#ifdef HAVE_SYS_TYPES_H |
|
35 | 38 |
#include <sys/types.h> |
39 |
+#endif |
|
40 |
+#ifdef HAVE_SYS_STAT_H |
|
36 | 41 |
#include <sys/stat.h> |
42 |
+#endif |
|
43 |
+#ifdef HAVE_UNISTD_H |
|
37 | 44 |
#include <unistd.h> |
45 |
+#endif |
|
46 |
+#ifdef HAVE_STRING_H |
|
38 | 47 |
#include <string.h> |
48 |
+#endif |
|
39 | 49 |
|
40 | 50 |
#include "cltypes.h" |
41 | 51 |
#include "pe.h" |
... | ... |
@@ -28,11 +28,21 @@ |
28 | 28 |
#endif |
29 | 29 |
|
30 | 30 |
#include <stdio.h> |
31 |
+#ifdef HAVE_STDLIB_H |
|
31 | 32 |
#include <stdlib.h> |
33 |
+#endif |
|
34 |
+#ifdef HAVE_SYS_TYPES_H |
|
32 | 35 |
#include <sys/types.h> |
36 |
+#endif |
|
37 |
+#ifdef HAVE_SYS_STAT_H |
|
33 | 38 |
#include <sys/stat.h> |
39 |
+#endif |
|
40 |
+#ifdef HAVE_UNISTD_H |
|
34 | 41 |
#include <unistd.h> |
42 |
+#endif |
|
43 |
+#ifdef HAVE_STRING_H |
|
35 | 44 |
#include <string.h> |
45 |
+#endif |
|
36 | 46 |
|
37 | 47 |
#include "cltypes.h" |
38 | 48 |
#include "pe.h" |