diff options
author | Cameron Katri <me@cameronkatri.com> | 2021-05-10 14:55:20 -0400 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2021-05-10 14:55:20 -0400 |
commit | d88d199f23088ac1c3d7696374b0a1c1c1c18358 (patch) | |
tree | 977307e478f76c5de5ca141268cf8ce0309a09eb /lib/libpcap/libpcap/cmake/have_siocglifconf.c | |
parent | 5fd83771641d15c418f747bd343ba6738d3875f7 (diff) | |
download | apple_cmds-d88d199f23088ac1c3d7696374b0a1c1c1c18358.tar.gz apple_cmds-d88d199f23088ac1c3d7696374b0a1c1c1c18358.tar.zst apple_cmds-d88d199f23088ac1c3d7696374b0a1c1c1c18358.zip |
libpcap-98.40.1
Diffstat (limited to 'lib/libpcap/libpcap/cmake/have_siocglifconf.c')
-rw-r--r-- | lib/libpcap/libpcap/cmake/have_siocglifconf.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libpcap/libpcap/cmake/have_siocglifconf.c b/lib/libpcap/libpcap/cmake/have_siocglifconf.c new file mode 100644 index 0000000..5a67abc --- /dev/null +++ b/lib/libpcap/libpcap/cmake/have_siocglifconf.c @@ -0,0 +1,6 @@ +#include <sys/ioctl.h> +#include <sys/socket.h> +#include <sys/sockio.h> +int main() { + ioctl(0, SIOCGLIFCONF, (char *)0); +} |