Browse code

fix OpenBSD build problem

git-svn: trunk@3932

Török Edvin authored on 2008/07/10 20:10:54
Showing 1 changed files
... ...
@@ -26,17 +26,21 @@
26 26
 #ifndef CL_DEBUG
27 27
 #define NDEBUG
28 28
 #endif
29
+
29 30
 #include <stdio.h>
31
+
32
+#ifdef HAVE_UNISTD_H
30 33
 #include <unistd.h>
31
-#include <sys/types.h>
32
-#include <sys/stat.h>
34
+#endif
33 35
 #include <fcntl.h>
34 36
 #include <stdlib.h>
35
-#include <stdint.h>
36 37
 #include <string.h>
37 38
 #include <ctype.h>
38 39
 #include <assert.h>
40
+
39 41
 #define BUFS 65536
42
+
43
+#include "cltypes.h"
40 44
 #include "lexglobal.h"
41 45
 #include "hashtab.h"
42 46
 #include "others.h"