Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - provide sys/shm.h !?: (1 Item)
   
provide sys/shm.h !?  
For graphics/MesaLib the build failed because of the missing sys/shm.h file.

Here is the patch for src/mesa/drivers/x11/glxheader.h:

 # ifdef USE_XSHM  /* was SHM */
 #  include <sys/ipc.h>
+#ifndef __QNXNTO__
 #  include <sys/shm.h>
+#endif
 #  include <X11/extensions/XShm.h>
 # endif

and it worked - therefore the required functions are available in QNX. I do not which function prototypes for shared 
memory operation are belonging to shm.h.