summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--smtk-import/smartrak.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/smtk-import/smartrak.c b/smtk-import/smartrak.c
index 1d3daf21e..eadf4cfc1 100644
--- a/smtk-import/smartrak.c
+++ b/smtk-import/smartrak.c
@@ -30,6 +30,10 @@
#include <stdarg.h>
#include <locale.h>
+#if defined(WIN32) || defined(_WIN32)
+#include <windows.h>
+#endif
+
#include "core/dive.h"
#include "core/gettext.h"
#include "core/divelist.h"