From 7b2c764f594279e0aa181eb65a33e765f2e5955e Mon Sep 17 00:00:00 2001 From: Elizabeth Myers Date: Thu, 31 Mar 2016 01:16:34 -0500 Subject: [PATCH] librb: don't include linux/tcp.h, that's already included --- librb/configure.ac | 2 +- librb/include/rb_lib.h | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/librb/configure.ac b/librb/configure.ac index 33b98908..0c49a66b 100644 --- a/librb/configure.ac +++ b/librb/configure.ac @@ -104,7 +104,7 @@ AC_TYPE_UID_T dnl Checks for header files. AC_HEADER_STDC -AC_CHECK_HEADERS([crypt.h unistd.h sys/socket.h sys/stat.h sys/time.h time.h netinet/in.h netinet/tcp.h arpa/inet.h errno.h sys/uio.h spawn.h sys/poll.h sys/epoll.h sys/select.h sys/devpoll.h sys/event.h port.h signal.h sys/signalfd.h sys/timerfd.h linux/tcp.h]) +AC_CHECK_HEADERS([crypt.h unistd.h sys/socket.h sys/stat.h sys/time.h time.h netinet/in.h netinet/tcp.h arpa/inet.h errno.h sys/uio.h spawn.h sys/poll.h sys/epoll.h sys/select.h sys/devpoll.h sys/event.h port.h signal.h sys/signalfd.h sys/timerfd.h]) AC_HEADER_TIME dnl Networking Functions diff --git a/librb/include/rb_lib.h b/librb/include/rb_lib.h index 4003a832..7ef473a9 100644 --- a/librb/include/rb_lib.h +++ b/librb/include/rb_lib.h @@ -10,10 +10,6 @@ #include #include -#ifdef HAVE_LINUX_TCP_H -# include -#endif - #ifdef __GNUC__ #undef alloca #define alloca __builtin_alloca