diff options
author | 2012-04-24 22:37:27 -0400 | |
---|---|---|
committer | 2012-04-24 22:37:27 -0400 | |
commit | 56cc176d4332908954e92a1c29ad8740a394c8b9 (patch) | |
tree | a4920f79e5744bce2bd1f2344dffa86161e46d94 /configure.ac | |
parent | fbb768ca1c50a2db0b841c9325ca88d1488d84ca (diff) |
Fix libutil.h test under FreeBSD 7.x/8.x
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 8fc4acf..f648ebb 100644 --- a/configure.ac +++ b/configure.ac @@ -244,7 +244,8 @@ PKG_CHECK_MODULES([TINFO], [tinfo], , AC_CHECK_DECL([forkpty], [AC_DEFINE([FORKPTY_IN_LIBUTIL], [1], [Define if libutil.h necessary for forkpty().])], - , [[#include <libutil.h>]]) + , [[#include <sys/types.h> + #include <libutil.h>]]) AC_ARG_VAR([poll_CFLAGS], [C compiler flags for poll]) AC_ARG_VAR([poll_LIBS], [linker flags for poll]) |