From 728bc90cc08638f6dc10c4426294bb467ef4ecbb Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Mon, 13 May 2013 00:36:41 +0000 Subject: [PATCH] Fixed include for Windows. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1481677 13f79535-47bb-0310-9956-ffa450edef68 --- support/passwd_common.c | 10 +++++----- 1 file 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 +#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; -- 2.40.0