mirror of
https://github.com/tstack/lnav
synced 2024-11-17 15:29:40 +00:00
[cygwin] fix compile issue for test
This commit is contained in:
parent
5e011a9203
commit
71cd99a2bf
2
configure
vendored
2
configure
vendored
@ -6015,7 +6015,7 @@ if test "$ac_res" != no; then :
|
||||
fi
|
||||
|
||||
|
||||
for ac_header in pty.h util.h zlib.h bzlib.h libutil.h
|
||||
for ac_header in pty.h util.h zlib.h bzlib.h libutil.h sys/ttydefaults.h
|
||||
do :
|
||||
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
||||
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
||||
|
@ -83,7 +83,7 @@ AC_SEARCH_LIBS(dlopen, dl)
|
||||
AC_SEARCH_LIBS(cur_term, tinfo)
|
||||
AC_SEARCH_LIBS(Gpm_Open, gpm)
|
||||
|
||||
AC_CHECK_HEADERS(pty.h util.h zlib.h bzlib.h libutil.h)
|
||||
AC_CHECK_HEADERS(pty.h util.h zlib.h bzlib.h libutil.h sys/ttydefaults.h)
|
||||
|
||||
AX_WITH_CURSES
|
||||
AX_PATH_LIB_PCRE([], [AC_MSG_ERROR([pcre required to build])])
|
||||
|
@ -94,6 +94,9 @@
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#undef HAVE_SYS_STAT_H
|
||||
|
||||
/* Define to 1 if you have the <sys/ttydefaults.h> header file. */
|
||||
#undef HAVE_SYS_TTYDEFAULTS_H
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#undef HAVE_SYS_TYPES_H
|
||||
|
||||
|
@ -36,7 +36,9 @@
|
||||
#include <fcntl.h>
|
||||
#include <signal.h>
|
||||
|
||||
#ifdef HAVE_SYS_TTYDEFAULTS_H
|
||||
#include <sys/ttydefaults.h>
|
||||
#endif
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user