From c53a174d0c6f79d4996bf7de9378622c540f5321 Mon Sep 17 00:00:00 2001 From: Keith Winstein Date: Mon, 22 Oct 2012 10:50:07 -0400 Subject: [PATCH] Revert "Check for netinet/ip.h (now that we are using it), and don't also use in.h" This reverts commit 0909ea55d635749514ced29ddeb37eb893d08708. --- configure.ac | 2 +- src/network/network.cc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b14c30f..c5f167c 100644 --- a/configure.ac +++ b/configure.ac @@ -176,7 +176,7 @@ AC_SEARCH_LIBS([socket], [socket]) AC_SEARCH_LIBS([inet_addr], [nsl]) # Checks for header files. -AC_CHECK_HEADERS([arpa/inet.h fcntl.h langinfo.h limits.h locale.h netinet/in.h netinet/ip.h stddef.h stdint.h inttypes.h stdlib.h string.h sys/ioctl.h sys/resource.h sys/socket.h sys/stat.h sys/time.h termios.h unistd.h wchar.h wctype.h], [], [AC_MSG_ERROR([Missing required header file.])]) +AC_CHECK_HEADERS([arpa/inet.h fcntl.h langinfo.h limits.h locale.h netinet/in.h stddef.h stdint.h inttypes.h stdlib.h string.h sys/ioctl.h sys/resource.h sys/socket.h sys/stat.h sys/time.h termios.h unistd.h wchar.h wctype.h], [], [AC_MSG_ERROR([Missing required header file.])]) AC_CHECK_HEADERS([pty.h util.h libutil.h paths.h]) AC_CHECK_HEADERS([endian.h sys/endian.h]) diff --git a/src/network/network.cc b/src/network/network.cc index 7ef9e4b..d4ce857 100644 --- a/src/network/network.cc +++ b/src/network/network.cc @@ -34,6 +34,7 @@ #include #include +#include #include #include #include