summaryrefslogtreecommitdiff
path: root/mysys/my_copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/my_copy.c')
-rw-r--r--mysys/my_copy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mysys/my_copy.c b/mysys/my_copy.c
index 84eda781a09..03f3feb54d3 100644
--- a/mysys/my_copy.c
+++ b/mysys/my_copy.c
@@ -18,10 +18,10 @@
#include "mysys_priv.h"
#include <sys/stat.h>
#include <m_string.h>
-#if defined(HAVE_SYS_UTIME_H)
-#include <sys/utime.h>
-#elif defined(HAVE_UTIME_H)
+#if defined(HAVE_UTIME_H)
#include <utime.h>
+#elif defined(HAVE_SYS_UTIME_H)
+#include <sys/utime.h>
#elif !defined(HPUX10)
#include <time.h>
struct utimbuf {