summaryrefslogtreecommitdiff
path: root/file_io
diff options
context:
space:
mode:
authordreid <dreid@13f79535-47bb-0310-9956-ffa450edef68>2003-09-10 09:18:59 +0000
committerdreid <dreid@13f79535-47bb-0310-9956-ffa450edef68>2003-09-10 09:18:59 +0000
commit344a1dbdeda58968e50eb3b81231f032c3af3c8a (patch)
tree2f887d65e76fc8788347cd8bfc3af0c1e66e3887 /file_io
parent3e29ed7a564da48e5d00df5bd2608ea42650b85a (diff)
downloadlibapr-344a1dbdeda58968e50eb3b81231f032c3af3c8a.tar.gz
Add a needed header file when we're using utime.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64616 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io')
-rw-r--r--file_io/unix/filestat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/file_io/unix/filestat.c b/file_io/unix/filestat.c
index 4b41e9b32..86e3a639d 100644
--- a/file_io/unix/filestat.c
+++ b/file_io/unix/filestat.c
@@ -58,6 +58,10 @@
#include "apr_strings.h"
#include "apr_errno.h"
+#ifdef HAVE_UTIME
+#include <utime.h>
+#endif
+
static apr_filetype_e filetype_from_mode(mode_t mode)
{
apr_filetype_e type;