httpd_indexcgi.c: fix compile failure
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 3 Sep 2012 10:20:10 +0000 (12:20 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 3 Sep 2012 10:20:10 +0000 (12:20 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/httpd_indexcgi.c

index d732cd4f8a9f6e6b0baecec4d2278879d9886295..562cd7fbef495b0102763bf032cb5134833937b4 100644 (file)
@@ -35,6 +35,7 @@ httpd_indexcgi.c -o index.cgi
  *   2576       4    2048    4628    1214 index.cgi.o
  */
 
+#define _GNU_SOURCE 1  /* for strchrnul */
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <errno.h>