(vars): Add support for _SC_IPV6 and _SC_RAW_SOCKETS.
authordrepper <drepper>
Sat, 27 Nov 2004 20:56:55 +0000 (20:56 +0000)
committerdrepper <drepper>
Sat, 27 Nov 2004 20:56:55 +0000 (20:56 +0000)
posix/getconf.c

index 6175dfe..5aac25e 100644 (file)
@@ -912,6 +912,12 @@ static const struct conf vars[] =
     { "LEVEL4_CACHE_ASSOC", _SC_LEVEL4_CACHE_ASSOC, SYSCONF },
 #endif
 
+#ifdef _SC_IPV6
+    { "IPV6", _SC_IPV6, SYSCONF },
+#endif
+#ifdef _SC_RAW_SOCKETS
+    { "RAW_SOCKETS", _SC_RAW_SOCKETS, SYSCONF },
+#endif
 
     { NULL, 0, SYSCONF }
   };