Skip to content

Commit 46b89c5

Browse files
committed
Try to fix a cmake build
1 parent 8738944 commit 46b89c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ if (have_netinet_ip_icmp_h)
110110
add_definitions(-DHAVE_NETINET_IP_ICMP_H)
111111
endif ()
112112

113-
check_include_files("net/route.h" have_net_route_h)
113+
check_include_files("sys/types.h;sys/socket.h;net/route.h" have_net_route_h)
114114
if (have_net_route_h)
115115
add_definitions(-DHAVE_NET_ROUTE_H)
116116
endif ()

0 commit comments

Comments
 (0)