Permalink
Browse files

Revert "Check for netinet/ip.h (now that we are using it), and don't …

…also use in.h"

This reverts commit 0909ea5.
  • Loading branch information...
1 parent 0909ea5 commit c53a174d0c6f79d4996bf7de9378622c540f5321 @keithw keithw committed Oct 22, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −1 configure.ac
  2. +1 −0 src/network/network.cc
View
@@ -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])
View
@@ -34,6 +34,7 @@
#include <sys/types.h>
#include <sys/socket.h>
+#include <netinet/in.h>
#include <netinet/ip.h>
#include <arpa/inet.h>
#include <assert.h>

0 comments on commit c53a174

Please sign in to comment.