summaryrefslogtreecommitdiff
path: root/flexdef.h
diff options
context:
space:
mode:
authorWill Estes <wlestes@users.sourceforge.net>2003-03-26 21:35:19 +0000
committerWill Estes <wlestes@users.sourceforge.net>2003-03-26 21:35:19 +0000
commitd0de8debbd88388425ee51d9612a238edeba0ad2 (patch)
tree56b6f75d5a069334c9cffb9bb8aa4847917331de /flexdef.h
parent2960562ee7183c4c226f84da6c83c7bb8e5ab160 (diff)
reorder include directives so as to catch system integer types before flex defined values for same
Diffstat (limited to 'flexdef.h')
-rw-r--r--flexdef.h31
1 files changed, 14 insertions, 17 deletions
diff --git a/flexdef.h b/flexdef.h
index 4803d12..6c6fe0b 100644
--- a/flexdef.h
+++ b/flexdef.h
@@ -51,12 +51,24 @@
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif
-#include "flexint.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
-
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
+#ifdef HAVE_SYS_PARAMS_H
+#include <sys/params.h>
+#endif
+#ifdef HAVE_STDBOOL_H
+#include <stdbool.h>
+#else
+#define bool int
+#define true 1
+#define false 0
+#endif
#include <regex.h>
+#include "flexint.h"
/* We use gettext. So, when we write strings which should be translated, we mark them with _() */
#ifdef ENABLE_NLS
@@ -117,23 +129,8 @@
#define isascii(c) ((c) <= 0177)
#endif
-#ifdef HAVE_STDBOOL_H
-#include <stdbool.h>
-#else
-#define bool int
-#define true 1
-#define false 0
-#endif
-
#define unspecified -1
-#ifdef HAVE_NETINET_IN_H
-#include <netinet/in.h>
-#endif
-#ifdef HAVE_SYS_PARAMS_H
-#include <sys/params.h>
-#endif
-
/* Special chk[] values marking the slots taking by end-of-buffer and action
* numbers.
*/