]> source.dussan.org Git - tigervnc.git/commitdiff
Add some missing headers. It is not really ok to include Xutil.h
authorPierre Ossman <ossman@cendio.se>
Thu, 11 Apr 2013 10:48:27 +0000 (10:48 +0000)
committerPierre Ossman <ossman@cendio.se>
Thu, 11 Apr 2013 10:48:27 +0000 (10:48 +0000)
without first including Xlib.h.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5078 3789f03b-4d11-0410-bbf8-ca57d06f2519

unix/xserver/hw/vnc/Input.cc
unix/xserver/hw/vnc/InputCore.cc
unix/xserver/hw/vnc/InputXKB.cc

index d36a4d762ddad54154df4f59153ae3d1ba605c81..cf6a7df2c49819926fca9e38f6097d176330cd28 100644 (file)
@@ -49,6 +49,7 @@ CopyKeyClass(DeviceIntPtr device, DeviceIntPtr master);
 extern _X_EXPORT DevPrivateKey CoreDevicePrivateKey;
 #endif
 #include <X11/keysym.h>
+#include <X11/Xlib.h>
 #include <X11/Xutil.h>
 #undef public
 #undef class
index 63d94125b1b01ddd8df5307973f3f7a9e168a990..0fc4fe1ec78ec1f1385103961379c42c41fd4ed3 100644 (file)
@@ -44,6 +44,7 @@ extern "C" {
 #define XK_TECHNICAL
 #include <X11/keysym.h>
 #include <X11/XF86keysym.h>
+#include <X11/Xlib.h>
 #include <X11/Xutil.h>
 #undef public
 #undef class
index 4ac0d9176f3101f47d3f24ddbed14026a2c9b1cc..39d9252c80a0766c7f79d64f10d5539afc96ff19 100644 (file)
@@ -35,6 +35,8 @@ extern "C" {
 #include "eventstr.h"
 #include "scrnintstr.h"
 #include "mi.h"
+#include <X11/keysym.h>
+#include <X11/Xlib.h>
 #include <X11/Xutil.h>
 #undef public
 #undef class