aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-12-03 09:13:32 +0100
committermarha <marha@users.sourceforge.net>2012-12-03 09:13:32 +0100
commiteba14241fe23d0561687a1e530a57fa0bfc6ab69 (patch)
treec331c05ecff812d340e5455b13a99007c3c0289f /xorg-server/hw
parentd208c67d406f117bfc85cf246a8f80f770796be4 (diff)
downloadvcxsrv-eba14241fe23d0561687a1e530a57fa0bfc6ab69.tar.gz
vcxsrv-eba14241fe23d0561687a1e530a57fa0bfc6ab69.tar.bz2
vcxsrv-eba14241fe23d0561687a1e530a57fa0bfc6ab69.zip
Some minor changes to solve compilation problems after last merge
Diffstat (limited to 'xorg-server/hw')
-rw-r--r--xorg-server/hw/xwin/propertystore.h2
-rw-r--r--xorg-server/hw/xwin/winSetAppUserModelID.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/xorg-server/hw/xwin/propertystore.h b/xorg-server/hw/xwin/propertystore.h
index 6afc6c954..b4a761f51 100644
--- a/xorg-server/hw/xwin/propertystore.h
+++ b/xorg-server/hw/xwin/propertystore.h
@@ -26,7 +26,7 @@
#include <windows.h>
-#ifdef __MINGW64_VERSION_MAJOR
+#if defined(__MINGW64_VERSION_MAJOR) || defined(_MSC_VER)
/* If we are using headers from mingw-w64 project, it provides the PSDK headers this needs ... */
#include <propkey.h>
#include <propsys.h>
diff --git a/xorg-server/hw/xwin/winSetAppUserModelID.c b/xorg-server/hw/xwin/winSetAppUserModelID.c
index ce9da5e7d..41615e19c 100644
--- a/xorg-server/hw/xwin/winSetAppUserModelID.c
+++ b/xorg-server/hw/xwin/winSetAppUserModelID.c
@@ -28,6 +28,7 @@
#include <X11/Xlib.h>
#include <X11/Xproto.h>
#include <X11/Xwindows.h>
+#include <pthread.h>
#include "winwindow.h"
#include "os.h"
#include "winmsg.h"