smtk-import: portability: include windows.h

Include windows.h if we are cross building to windows

Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
This commit is contained in:
Salvador Cuñat 2017-05-20 09:36:38 +02:00 committed by Dirk Hohndel
parent 6963b52d96
commit 15c0a0a6ea

View file

@ -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"