about summary refs log tree commit diff
path: root/main.c
diff options
context:
space:
mode:
authorlukasepple <git@lukasepple.de>2014-08-08 08:44:45 +0200
committerlukasepple <git@lukasepple.de>2014-08-08 08:44:45 +0200
commitdc0afc761cdffc1f41116e28730c203667e1605d (patch)
tree29e0e8b62fb721ccef5bd879f0830dff8dda48cd /main.c
parent89898841f9d29aba78773178daa613b81b7b5371 (diff)
(re)added feature macros
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index fe2ce8b..4557008 100644
--- a/main.c
+++ b/main.c
@@ -3,6 +3,8 @@
  * intended to run as a CGI script
  * written in C by Lukas Epple aka
  * sternenseemann */
+#define _POSIX_C_SOURCE 200809L
+#define _XOPEN_SOURCE 501
 #include <stdio.h>
 #include <stdlib.h>
 #include <dirent.h>