Bug 4439 - including Xcursor.h without Xlib.h breaks
Summary: including Xcursor.h without Xlib.h breaks
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/Xcursor (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Daniel Stone
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-13 02:08 UTC by Sebastien Bacher
Modified: 2006-03-04 13:00 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.