diff options
author | wlestes <wlestes> | 2002-11-23 16:50:32 +0000 |
---|---|---|
committer | wlestes <wlestes> | 2002-11-23 16:50:32 +0000 |
commit | f9e01af90c805ea3d6fa2abdeb5f188dc6e7f738 (patch) | |
tree | 14300e1968607e3d6c3fc8a7a68c07080c1a32c7 | |
parent | f88a4625dea8a98fded7489397eaa79c26b6d2c4 (diff) | |
download | flex-f9e01af90c805ea3d6fa2abdeb5f188dc6e7f738.tar.gz |
apparently on some BSD systems, we need sys/params.h; reported by millaway
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | flexdef.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 7d29cc0..01fb5c0 100644 --- a/configure.in +++ b/configure.in @@ -64,7 +64,7 @@ dnl checks for libraries dnl checks for header files AC_HEADER_STDC -AC_CHECK_HEADERS(unistd.h stdbool.h netinet/in.h limits.h) +AC_CHECK_HEADERS(unistd.h stdbool.h netinet/in.h limits.h sys/params.h) AC_CHECK_HEADERS(cunistd) dnl checks for types @@ -126,6 +126,9 @@ #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. |