Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2ca5f3b

Browse files
committed
Add a check for sys/modem.h, needed by termios on HP-UX.
1 parent 886f113 commit 2ca5f3b

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

config.h.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,9 @@
590590
/* Define if you have the <sys/lock.h> header file. */
591591
#undef HAVE_SYS_LOCK_H
592592

593+
/* Define if you have the <sys/modem.h> header file. */
594+
#undef HAVE_SYS_MODEM_H
595+
593596
/* Define if you have the <sys/ndir.h> header file. */
594597
#undef HAVE_SYS_NDIR_H
595598

configure.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ dnl AC_MSG_RESULT($cpp_type)
381381
AC_HEADER_STDC
382382
AC_CHECK_HEADERS(dlfcn.h fcntl.h limits.h locale.h ncurses.h poll.h pthread.h \
383383
signal.h stdarg.h stddef.h stdlib.h thread.h unistd.h utime.h termios.h \
384-
sys/audioio.h sys/file.h sys/lock.h db_185.h db.h \
384+
sys/audioio.h sys/file.h sys/lock.h sys/modem.h db_185.h db.h \
385385
sys/param.h sys/select.h sys/socket.h sys/time.h sys/times.h \
386386
sys/un.h sys/utsname.h sys/wait.h pty.h libutil.h \
387387
ndbm.h db1/ndbm.h gdbm/ndbm.h)

0 commit comments

Comments
 (0)