httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r1481677 - /httpd/httpd/trunk/support/passwd_common.c
Date Mon, 13 May 2013 00:36:41 GMT
Author: fuankg
Date: Mon May 13 00:36:41 2013
New Revision: 1481677

URL: http://svn.apache.org/r1481677
Log:
Fixed include for Windows.

Modified:
    httpd/httpd/trunk/support/passwd_common.c

Modified: httpd/httpd/trunk/support/passwd_common.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/support/passwd_common.c?rev=1481677&r1=1481676&r2=1481677&view=diff
==============================================================================
--- httpd/httpd/trunk/support/passwd_common.c (original)
+++ httpd/httpd/trunk/support/passwd_common.c Mon May 13 00:36:41 2013
@@ -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;



Mime
View raw message