apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Reid" <da...@jetnet.co.uk>
Subject utime.h
Date Tue, 09 Sep 2003 17:26:46 GMT
Anyone object if I add an include for utime.h into file_io/unix/filestat.c
as if we use the utime() branch in apr_file_mtime_set() we should have the
header for the utimbuf struct...

cvs server: Diffing file_io/unix
Index: file_io/unix/filestat.c
===================================================================
RCS file: /home/cvs/apr/file_io/unix/filestat.c,v
retrieving revision 1.69
diff -u -r1.69 filestat.c
--- file_io/unix/filestat.c     3 Sep 2003 18:26:57 -0000       1.69
+++ file_io/unix/filestat.c     9 Sep 2003 17:24:30 -0000
@@ -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;


Mime
View raw message