summaryrefslogtreecommitdiff
path: root/platform/x11
diff options
context:
space:
mode:
Diffstat (limited to 'platform/x11')
-rw-r--r--platform/x11/win_main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/platform/x11/win_main.c b/platform/x11/win_main.c
index 467aa79a..0ab33c39 100644
--- a/platform/x11/win_main.c
+++ b/platform/x11/win_main.c
@@ -1,5 +1,3 @@
-#include "pdfapp.h"
-
#ifndef UNICODE
#define UNICODE
#endif
@@ -11,6 +9,9 @@
#include <commdlg.h>
#include <shellapi.h>
+/* Include pdfapp.h *AFTER* the UNICODE defines */
+#include "pdfapp.h"
+
#ifndef WM_MOUSEWHEEL
#define WM_MOUSEWHEEL 0x020A
#endif