It's also possible to do things like: #include <Xlib.h> and gcc -I/usr/X11R6/include/X11 .... or where ever the path to Xlib.h and friends are.
If <X11/Xlib.h> is portable enough when adjusted for the correct paths, then it's likely better to use that; as you've been directed.
__________________
My Journal
Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
|