aboutsummaryrefslogtreecommitdiff
path: root/config/have_siocglifconf.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2017-02-12 07:04:44 +0000
committerXin LI <delphij@FreeBSD.org>2017-02-12 07:04:44 +0000
commitc8c6d70e300aa9261c4766502c179fc4cd2b22a0 (patch)
tree14c068bb8b49db9f9ae540e8e2be80a9035e403a /config/have_siocglifconf.c
parent50224b10fa4e157f09ee1cd03c790c9e61e76c5e (diff)
Vendor import of libpcap 1.8.1.vendor/libpcap/1.8.1
Notes
Notes: svn path=/vendor/libpcap/dist/; revision=313676 svn path=/vendor/libpcap/1.8.1/; revision=313677; tag=vendor/libpcap/1.8.1
Diffstat (limited to 'config/have_siocglifconf.c')
-rw-r--r--config/have_siocglifconf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/have_siocglifconf.c b/config/have_siocglifconf.c
new file mode 100644
index 000000000000..5a67abc192c4
--- /dev/null
+++ b/config/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);
+}