diff options
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
296 | add_definitions(-DHAVE_ERR_H) | 296 | add_definitions(-DHAVE_ERR_H) |
297 | endif() | 297 | endif() |
298 | 298 | ||
299 | check_include_files(netinet/ip.h HAVE_NETINET_IP_H) | 299 | check_include_files("sys/types.h;arpa/inet.h;netinet/ip.h" HAVE_NETINET_IP_H) |
300 | if(HAVE_NETINET_IP_H) | 300 | if(HAVE_NETINET_IP_H) |
301 | add_definitions(-DHAVE_NETINET_IP_H) | 301 | add_definitions(-DHAVE_NETINET_IP_H) |
302 | endif() | 302 | endif() |