aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--slowcgi.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/slowcgi.c b/slowcgi.c
index 8def399..63e7c1a 100644
--- a/slowcgi.c
+++ b/slowcgi.c
@@ -39,6 +39,14 @@
#include <syslog.h>
#include <unistd.h>
+#ifndef __packed
+#define __packed __attribute__((packed))
+#endif
+
+#ifndef __dead
+#define __dead __attribute__((noreturn))
+#endif
+
#define TIMEOUT_DEFAULT 120
#define SLOWCGI_USER "www"