From: Frank Lichtenheld Date: Thu, 30 Mar 2023 09:42:15 +0000 (+0200) Subject: Do not include net/in_systm.h X-Git-Tag: v2.7_alpha1~487 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dbd7e3bea41e8be3fa637a17827236b1fc6db18b;p=thirdparty%2Fopenvpn.git Do not include net/in_systm.h This only defines three types and none of them is used anywhere in our source code. Signed-off-by: Frank Lichtenheld Acked-by: Gert Doering Message-Id: <20230330094215.487924-1-frank@lichtenheld.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg26559.html Signed-off-by: Gert Doering --- diff --git a/configure.ac b/configure.ac index ca85e5ed2..e1e79ebf4 100644 --- a/configure.ac +++ b/configure.ac @@ -453,7 +453,7 @@ AC_CHECK_HEADERS([ \ fcntl.h io.h \ sys/types.h sys/socket.h \ unistd.h dlfcn.h \ - netinet/in.h netinet/in_systm.h \ + netinet/in.h \ netinet/tcp.h arpa/inet.h netdb.h \ versionhelpers.h \ ]) @@ -489,9 +489,6 @@ SOCKET_INCLUDES=" #ifdef _WIN32 #include #endif -#ifdef HAVE_NETINET_IN_SYSTM_H -#include -#endif #ifdef HAVE_NETINET_IP_H #include #endif diff --git a/src/openvpn/syshead.h b/src/openvpn/syshead.h index 533592255..7181b94d0 100644 --- a/src/openvpn/syshead.h +++ b/src/openvpn/syshead.h @@ -221,10 +221,6 @@ #include #endif -#ifdef HAVE_NETINET_IN_SYSTM_H -#include -#endif - #ifdef HAVE_NETINET_IP_H #include #endif @@ -241,10 +237,6 @@ #include #endif -#ifdef HAVE_NETINET_IN_SYSTM_H -#include -#endif - #ifdef HAVE_NETINET_IP_H #include #endif @@ -265,10 +257,6 @@ #include #endif -#ifdef HAVE_NETINET_IN_SYSTM_H -#include -#endif - #ifdef HAVE_NETINET_IP_H #include #endif @@ -301,10 +289,6 @@ #include #endif -#ifdef HAVE_NETINET_IN_SYSTM_H -#include -#endif - #ifdef HAVE_NETINET_IP_H #include #endif