Bug 4439

Summary: including Xcursor.h without Xlib.h breaks
Product: xorg Reporter: Sebastien Bacher <seb128>
Component: Lib/XcursorAssignee: Daniel Stone <daniel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Sebastien Bacher 2005-09-13 02:08:48 UTC
"#include <X11/Xcursor/Xcursor.h>" gives these errors:

/usr/include/X11/Xcursor/Xcursor.h:204: erreur: syntax error before ‘Display’
/usr/include/X11/Xcursor/Xcursor.h:207: erreur: syntax error before ‘*’ token
/usr/include/X11/Xcursor/Xcursor.h:208: erreur: syntax error before ‘}’ token
/usr/include/X11/Xcursor/Xcursor.h:211: erreur: syntax error before ‘XcursorCursors’
....

it works if you "#include <X11/Xlib.h>" before
Comment 1 Daniel Stone 2006-03-05 08:00:27 UTC
committed to HEAD, five months later

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.