summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Caulier <[email protected]>2015-10-12 10:06:09 +0200
committerGilles Caulier <[email protected]>2015-10-12 10:06:09 +0200
commitd54047f3d2a2b7fa18237664f79d90424b531e91 (patch)
tree5eb35be7e1fb44c690e55fee4f38ff28839e5ba3
parent70eda3c81743379539bf8ba79e822edd1140e55c (diff)
apply patch to support MSVC utime
REVIEW: 125594
-rw-r--r--libkexiv2/kexiv2_p.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/libkexiv2/kexiv2_p.cpp b/libkexiv2/kexiv2_p.cpp
index 76cba49..af0c677 100644
--- a/libkexiv2/kexiv2_p.cpp
+++ b/libkexiv2/kexiv2_p.cpp
@@ -7,7 +7,7 @@
* @date 2007-09-03
* @brief Exiv2 library interface for KDE
*
- * @author Copyright (C) 2006-2014 by Gilles Caulier
+ * @author Copyright (C) 2006-2015 by Gilles Caulier
* <a href="mailto:caulier dot gilles at gmail dot com">caulier dot gilles at gmail dot com</a>
* @author Copyright (C) 2006-2012 by Marcel Wiesweg
* <a href="mailto:marcel dot wiesweg at gmx dot de">marcel dot wiesweg at gmx dot de</a>
@@ -32,7 +32,12 @@
extern "C"
{
#include <sys/stat.h>
+
+#ifndef _MSC_VER
#include <utime.h>
+#else
+#include <sys/utime.h>
+#endif
}
namespace KExiv2Iface