Skip to content

Commit 0f3fb2d

Browse files
committed
Sync with upstream: ext/sockets
1 parent 7a74155 commit 0f3fb2d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

cmake/ext/sockets/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ check_include_files(sys/sockio.h HAVE_SYS_SOCKIO_H)
104104
check_include_files(linux/filter.h HAVE_LINUX_FILTER_H)
105105
check_include_files(linux/if_ether.h HAVE_LINUX_IF_ETHER_H)
106106
check_include_files(linux/if_packet.h HAVE_LINUX_IF_PACKET_H)
107+
check_include_files(linux/udp.h HAVE_LINUX_UDP_H)
107108

108109
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
109110
check_include_files(winsock.h _HAVE_WINSOCK_H)

cmake/ext/sockets/cmake/config.h.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
/* Define to 1 if you have the <linux/if_packet.h> header file. */
1717
#cmakedefine HAVE_LINUX_IF_PACKET_H
1818

19+
/* Define to 1 if you have the <linux/udp.h> header file. */
20+
#cmakedefine HAVE_LINUX_UDP_H 1
21+
1922
/* Define to 1 if you have the 'sockatmark' function. */
2023
#cmakedefine HAVE_SOCKATMARK 1
2124

0 commit comments

Comments
 (0)