]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fixed include for Windows.
authorGuenter Knauf <fuankg@apache.org>
Mon, 13 May 2013 00:36:41 +0000 (00:36 +0000)
committerGuenter Knauf <fuankg@apache.org>
Mon, 13 May 2013 00:36:41 +0000 (00:36 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1481677 13f79535-47bb-0310-9956-ffa450edef68

support/passwd_common.c

index c03242be2f77e88c0ed8718a4bb4e64fa9d891f5..92a40a8e04afdf5b52846ae57d6296e2e101a949 100644 (file)
 
 #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
 #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;