Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
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.