aboutsummaryrefslogtreecommitdiff
path: root/cmake/have_siocglifconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/have_siocglifconf.c')
-rw-r--r--cmake/have_siocglifconf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/have_siocglifconf.c b/cmake/have_siocglifconf.c
new file mode 100644
index 00000000..5a67abc1
--- /dev/null
+++ b/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);
+}