aboutsummaryrefslogtreecommitdiffstats
path: root/slowcgi.c
diff options
context:
space:
mode:
Diffstat (limited to 'slowcgi.c')
-rw-r--r--slowcgi.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/slowcgi.c b/slowcgi.c
index 660f95e..a422918 100644
--- a/slowcgi.c
+++ b/slowcgi.c
@@ -39,6 +39,12 @@
#include <syslog.h>
#include <unistd.h>
+#ifdef strlcpy
+#define HAVE_STRLCPY
+#else
+size_t strlcpy(char *, const char *, size_t);
+#endif
+
#ifndef __packed
#define __packed __attribute__((packed))
#endif