aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index c776e243f..4d24a82b7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -61,7 +61,11 @@
#endif
#ifdef HAVE_UTIME_H
-#include <utime.h>
+ #include <utime.h>
+#else
+ #ifdef HAVE_SYS_UTIME_H
+ #include <sys/utime.h>
+ #endif
#endif
/* The last #include file should be: */