]> granicus.if.org Git - apache/commitdiff
Make sure we include time.h if it is there. (Other mojo may be needed for
authorJustin Erenkrantz <jerenkrantz@apache.org>
Sun, 3 Feb 2002 17:18:18 +0000 (17:18 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Sun, 3 Feb 2002 17:18:18 +0000 (17:18 +0000)
other platforms.)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93201 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/proxy_ftp.c

index 8a8439eb05b91dd44c46f359a067d68214316557..13b609fa806927e9878a21eb2d465e2cbb609d58 100644 (file)
@@ -59,6 +59,9 @@
 /* FTP routines for Apache proxy */
 
 #include "mod_proxy.h"
+#if APR_HAVE_TIME_H
+#include <time.h>
+#endif
 
 #define AUTODETECT_PWD
 /* Automatic timestamping (Last-Modified header) based on MDTM is used if: