xfixes: ifdef PanoramiXFixes* (#62015)
authorPeter Hutterer <peter.hutterer@who-t.net>
Sat, 9 Mar 2013 07:12:53 +0000 (17:12 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 12 Mar 2013 01:14:32 +0000 (11:14 +1000)
Fixes build failure with --disable-xinerama introduced by
482e0cb cursor: Move pointer barrier code over to XI

Reason is new include order: sdksyms.sh includes xfixes.h, which previously
did not include xfixesint.h.

As of 482e0cb xfixes.h includes xibarriers.h which includes xfixesint.h

X.Org Bug 62015 <http://bugs.freedesktop.org/show_bug.cgi?id=62015>

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Tested-by: Daniel Martin <consume.noise@gmail.com>
xfixes/xfixesint.h

index 334c71f..44e8890 100644 (file)
@@ -291,8 +291,10 @@ int
  SProcXFixesDestroyPointerBarrier(ClientPtr client);
 
 /* Xinerama */
+#ifdef PANORAMIX
 extern int (*PanoramiXSaveXFixesVector[XFixesNumberRequests]) (ClientPtr);
 void PanoramiXFixesInit(void);
 void PanoramiXFixesReset(void);
+#endif
 
 #endif                          /* _XFIXESINT_H_ */