about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/ifreq.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/ifreq.c')
-rw-r--r--sysdeps/unix/sysv/linux/ifreq.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/ifreq.c b/sysdeps/unix/sysv/linux/ifreq.c
index ad408df070..5ab5b06397 100644
--- a/sysdeps/unix/sysv/linux/ifreq.c
+++ b/sysdeps/unix/sysv/linux/ifreq.c
@@ -19,6 +19,13 @@
 
 #include "ifreq.h"
 
+/* Variable to signal whether SIOCGIFCONF is not available.  */
+#if __ASSUME_SIOCGIFNAME == 0 || 1
+static int old_siocgifconf;
+#else
+# define old_siocgifconf 0
+#endif
+
 
 void
 __ifreq (struct ifreq **ifreqs, int *num_ifs, int sockfd)