View Single Post
  #1   (View Single Post)  
Old 3rd June 2009
SunSpyda SunSpyda is offline
Port Guard
 
Join Date: Mar 2009
Posts: 20
Default Xlib - Strange location?

My *second* C library question today

So as well as checking out socket programming on OpenBSD, I was looking at X programming. I wanted to test a few examples on the net, all of which tell me to include this files -

Code:
#include <X11/Xlib.h>
On OpenBSD however, it's located -
Code:
/usr/X11R6/include
Is this the standard location for these libraries, or has OpenBSD located them in a non standard location?

I don't mind using the OpenBSD locations, but wouldn't this make the source unportable to other *nixes that have the xlibs in the standard directory?
Reply With Quote