[Pixman] [PATCH]Compile failure on OS/2

Dave Yeo dave.r.yeo at gmail.com
Fri May 6 22:40:20 PDT 2011


Hi, compile on trunk currently dies here,
...
utils.c: In function 'fence_malloc':
utils.c:257: warning: implicit declaration of function 'mmap'
utils.c:257: error: 'MAP_PRIVATE' undeclared (first use in this function)
...
As we have sys/mman.h but no working mmap().
One possible fix is attached, perhaps the check for sys/mman.h should be 
removed?
Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mmap.diff
Type: text/x-patch
Size: 995 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/pixman/attachments/20110506/51aafaf0/attachment.bin>


More information about the Pixman mailing list