Define dng_timespec as timespec for VS2015 and above
diff --git a/source/dng_pthread.h b/source/dng_pthread.h
index 2095321..4572e31 100644
--- a/source/dng_pthread.h
+++ b/source/dng_pthread.h
@@ -53,11 +53,16 @@
 
 #endif
 
-// Use the standard "timespec" struct for VS2015 and above from <time.h>. Define
-// "dng_timespec" as "timespec" otherwise.
+// Use the standard "timespec" struct as "dng_timespec" for VS2015 and above
+// from <time.h>. Define "dng_timespec" as "timespec" otherwise.
 #if _MSC_VER >= 1900
 #include <time.h>
+#define dng_timespec timespec
 #else
+struct dng_timespec {
+	long tv_sec;
+	long tv_nsec;
+};
 #define timespec dng_timespec
 #endif
 
@@ -70,11 +75,6 @@
 
 #define DNG_ETIMEDOUT       60              /* Operation timed out */
 
-struct dng_timespec {
-	long tv_sec;
-	long tv_nsec;
-};
-
 typedef unsigned long dng_pthread_t;
 
 typedef struct dng_pthread_mutex_impl *dng_pthread_mutex_t;