httpd_indexcgi.c: fix compile failure

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2012-09-03 12:20:10 +02:00
parent 5f10fdf1dd
commit 168f87c531

View File

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