summaryrefslogtreecommitdiff
path: root/flexdef.h
diff options
context:
space:
mode:
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.
*/