summaryrefslogtreecommitdiffstats
path: root/modules/proxy
diff options
context:
space:
mode:
authorJustin Erenkrantz <jerenkrantz@apache.org>2002-02-03 18:18:18 +0100
committerJustin Erenkrantz <jerenkrantz@apache.org>2002-02-03 18:18:18 +0100
commit59874f544374cf465aa97a21f10550045283918d (patch)
tree2a10dd20b4859e387adea3316b760cc5cc8480a0 /modules/proxy
parentOkay with the configurability. (diff)
downloadapache2-59874f544374cf465aa97a21f10550045283918d.tar.xz
apache2-59874f544374cf465aa97a21f10550045283918d.zip
Make sure we include time.h if it is there. (Other mojo may be needed for
other platforms.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93201 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/proxy')
-rw-r--r--modules/proxy/proxy_ftp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/proxy/proxy_ftp.c b/modules/proxy/proxy_ftp.c
index 8a8439eb05..13b609fa80 100644
--- a/modules/proxy/proxy_ftp.c
+++ b/modules/proxy/proxy_ftp.c
@@ -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: