summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Hooker <sarvatt@ubuntu.com>2012-06-15 11:56:59 -0400
committerJakob Bornecrantz <jakob@vmware.com>2012-06-15 20:21:32 +0200
commit50c01998c7800bc02fd6656cc14efa715bf63e08 (patch)
tree1f99504b4136b5bc7590f21cfefe0934c18c59a0
parent61df95a86f4997e342d50d7779b00aba2e8849a6 (diff)
downloadxf86-video-vmware-50c01998c7800bc02fd6656cc14efa715bf63e08.tar.gz
xf86-video-vmware-50c01998c7800bc02fd6656cc14efa715bf63e08.tar.bz2
xf86-video-vmware-50c01998c7800bc02fd6656cc14efa715bf63e08.zip
vmware: Fix up some warnings after new compat API change.
Fixes multiple instances of these warnings on x86_64: ../../src/vmware.h:180:5: warning: implicit declaration of function 'xf86ScreenToScrn' [-Wimplicit-function-declaration] ../../src/vmware.h:180:5: warning: nested extern declaration of 'xf86ScreenToScrn' [-Wnested-externs] ../../src/vmware.h:180:5: warning: return makes pointer from integer without a cast [enabled by default] Function `xf86ScreenToScrn' implicitly converted to pointer at ../../src/vmware.h:180 Reviewed-by: Jakob Bornecrantz <jakob@vmware.com> Signed-off-by: Robert Hooker <sarvatt@ubuntu.com> Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
-rw-r--r--src/vmware.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vmware.h b/src/vmware.h
index 4818e16..be113bb 100644
--- a/src/vmware.h
+++ b/src/vmware.h
@@ -18,6 +18,7 @@
#include "xf86.h"
#include "xf86_OSproc.h"
+#include "compat-api.h"
#include <X11/extensions/panoramiXproto.h>