From 549ead1f94a2c2168cd162a331c399f5b3963803 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Tue, 30 Nov 2021 10:58:12 -0600 Subject: adjust cmake check to include dependencies for netinet/ip.h --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bcd17f7..b24e930 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -296,7 +296,7 @@ if(HAVE_ERR_H) add_definitions(-DHAVE_ERR_H) endif() -check_include_files(netinet/ip.h HAVE_NETINET_IP_H) +check_include_files("sys/types.h;arpa/inet.h;netinet/ip.h" HAVE_NETINET_IP_H) if(HAVE_NETINET_IP_H) add_definitions(-DHAVE_NETINET_IP_H) endif() -- cgit v1.2.3-55-g6feb