]> granicus.if.org Git - flex/commitdiff
reorder include directives so as to catch system integer types before flex defined...
authorWill Estes <wlestes@users.sourceforge.net>
Wed, 26 Mar 2003 21:35:19 +0000 (21:35 +0000)
committerWill Estes <wlestes@users.sourceforge.net>
Wed, 26 Mar 2003 21:35:19 +0000 (21:35 +0000)
flexdef.h

index 4803d12f69c760373ed81a0c1e60f75a56e21606..6c6fe0b482d8d33c88ff16af570d401f731d1a1a 100644 (file)
--- a/flexdef.h
+++ b/flexdef.h
 #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
 #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.
  */