summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mod_authn_mysql.c3
-rw-r--r--src/mod_deflate.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/mod_authn_mysql.c b/src/mod_authn_mysql.c
index 25e66d38..4a287117 100644
--- a/src/mod_authn_mysql.c
+++ b/src/mod_authn_mysql.c
@@ -30,6 +30,9 @@
#include <stdio.h>
#include <string.h>
+#if defined(HAVE_CRYPT_R) || defined(HAVE_CRYPT)
+#include <unistd.h> /* crypt() */
+#endif
#ifdef HAVE_CRYPT_H
#include <crypt.h>
#endif
diff --git a/src/mod_deflate.c b/src/mod_deflate.c
index 45cb6b1a..0640ec0b 100644
--- a/src/mod_deflate.c
+++ b/src/mod_deflate.c
@@ -107,6 +107,7 @@
#include <string.h>
#include <errno.h>
#include <time.h>
+#include <unistd.h> /* read() */
#include "base.h"
#include "fdevent.h"