summaryrefslogtreecommitdiffstats
path: root/cgi.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgi.c')
-rw-r--r--cgi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cgi.c b/cgi.c
index c27eeff4..b15649af 100644
--- a/cgi.c
+++ b/cgi.c
@@ -21,7 +21,9 @@
#include <sys/time.h>
#include <ctype.h>
+#if HAVE_ERR
#include <err.h>
+#endif
#include <errno.h>
#include <fcntl.h>
#include <limits.h>