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 d732cd4..562cd7f 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>