adjust cmake check to include dependencies for netinet/ip.h
This commit is contained in:
parent
31724a737a
commit
549ead1f94
@ -296,7 +296,7 @@ if(HAVE_ERR_H)
|
|||||||
add_definitions(-DHAVE_ERR_H)
|
add_definitions(-DHAVE_ERR_H)
|
||||||
endif()
|
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)
|
if(HAVE_NETINET_IP_H)
|
||||||
add_definitions(-DHAVE_NETINET_IP_H)
|
add_definitions(-DHAVE_NETINET_IP_H)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user