diff options
author | Will Estes <wlestes@users.sourceforge.net> | 2003-03-26 21:35:19 +0000 |
---|---|---|
committer | Will Estes <wlestes@users.sourceforge.net> | 2003-03-26 21:35:19 +0000 |
commit | d0de8debbd88388425ee51d9612a238edeba0ad2 (patch) | |
tree | 56b6f75d5a069334c9cffb9bb8aa4847917331de /flexdef.h | |
parent | 2960562ee7183c4c226f84da6c83c7bb8e5ab160 (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.h | 31 |
1 files changed, 14 insertions, 17 deletions
@@ -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. */ |