]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Do not include net/in_systm.h
authorFrank Lichtenheld <frank@lichtenheld.com>
Thu, 30 Mar 2023 09:42:15 +0000 (11:42 +0200)
committerGert Doering <gert@greenie.muc.de>
Thu, 30 Mar 2023 11:07:04 +0000 (13:07 +0200)
This only defines three types and none of them is
used anywhere in our source code.

Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
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 <gert@greenie.muc.de>
configure.ac
src/openvpn/syshead.h

index ca85e5ed216f1efbb2294996db2d700199712b31..e1e79ebf40e9797d0632b16c240dcbf54fc694a0 100644 (file)
@@ -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 <ws2tcpip.h>
 #endif
-#ifdef HAVE_NETINET_IN_SYSTM_H
-#include <netinet/in_systm.h>
-#endif
 #ifdef HAVE_NETINET_IP_H
 #include <netinet/ip.h>
 #endif
index 5335922558ee9963a1f3830eeb912f358e12fc66..7181b94d0ae7c172ad81a5ddd790291a1672d36c 100644 (file)
 #include <sys/sockio.h>
 #endif
 
-#ifdef HAVE_NETINET_IN_SYSTM_H
-#include <netinet/in_systm.h>
-#endif
-
 #ifdef HAVE_NETINET_IP_H
 #include <netinet/ip.h>
 #endif
 #include <sys/uio.h>
 #endif
 
-#ifdef HAVE_NETINET_IN_SYSTM_H
-#include <netinet/in_systm.h>
-#endif
-
 #ifdef HAVE_NETINET_IP_H
 #include <netinet/ip.h>
 #endif
 #include <sys/uio.h>
 #endif
 
-#ifdef HAVE_NETINET_IN_SYSTM_H
-#include <netinet/in_systm.h>
-#endif
-
 #ifdef HAVE_NETINET_IP_H
 #include <netinet/ip.h>
 #endif
 #include <sys/uio.h>
 #endif
 
-#ifdef HAVE_NETINET_IN_SYSTM_H
-#include <netinet/in_systm.h>
-#endif
-
 #ifdef HAVE_NETINET_IP_H
 #include <netinet/ip.h>
 #endif