From: Guenter Knauf Date: Mon, 13 May 2013 00:36:41 +0000 (+0000) Subject: Fixed include for Windows. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a0406b436b0d676c6fee37197fa547ae32ffdcb;p=thirdparty%2Fapache%2Fhttpd.git Fixed include for Windows. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1481677 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/passwd_common.c b/support/passwd_common.c index c03242be2f7..92a40a8e04a 100644 --- a/support/passwd_common.c +++ b/support/passwd_common.c @@ -24,8 +24,10 @@ #include "apr_md5.h" #include "apr_sha1.h" -#include +#if APR_HAVE_TIME_H +#include +#endif #if APR_HAVE_CRYPT_H #include #endif @@ -38,10 +40,8 @@ #if APR_HAVE_UNISTD_H #include #endif - -#ifdef WIN32 -#include -#define unlink _unlink +#if APR_HAVE_IO_H +#include #endif apr_file_t *errfile;