summaryrefslogtreecommitdiff
path: root/support/passwd_common.c
diff options
context:
space:
mode:
authorGuenter Knauf <fuankg@apache.org>2013-05-13 00:36:41 +0000
committerGuenter Knauf <fuankg@apache.org>2013-05-13 00:36:41 +0000
commit728bc90cc08638f6dc10c4426294bb467ef4ecbb (patch)
treeb35712f8c1c781c6ad40a4bd85cfd13d6b8cdf52 /support/passwd_common.c
parentb67b4aea82286aaa2a2ec5b82978c1e9fe74ae74 (diff)
downloadhttpd-728bc90cc08638f6dc10c4426294bb467ef4ecbb.tar.gz
Fixed include for Windows.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1481677 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/passwd_common.c')
-rw-r--r--support/passwd_common.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/support/passwd_common.c b/support/passwd_common.c
index c03242be2f..92a40a8e04 100644
--- a/support/passwd_common.c
+++ b/support/passwd_common.c
@@ -24,8 +24,10 @@
#include "apr_md5.h"
#include "apr_sha1.h"
-#include <time.h>
+#if APR_HAVE_TIME_H
+#include <time.h>
+#endif
#if APR_HAVE_CRYPT_H
#include <crypt.h>
#endif
@@ -38,10 +40,8 @@
#if APR_HAVE_UNISTD_H
#include <unistd.h>
#endif
-
-#ifdef WIN32
-#include <conio.h>
-#define unlink _unlink
+#if APR_HAVE_IO_H
+#include <io.h>
#endif
apr_file_t *errfile;