Browse Source

Include <sys/time.h> and <utime.h> when available

Sergey Poznyakoff 21 years ago
parent
commit
55a96565b5
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/system.h

+ 5 - 0
src/system.h

@@ -476,10 +476,15 @@ char *getenv ();
 #endif
 
 #include <time.h>
+#include <sys/time.h>
 #ifndef time
 time_t time ();
 #endif
 
+#ifdef HAVE_UTIME_H
+# include <utime.h>
+#endif
+
 /* Library modules.  */
 
 #include <dirname.h>