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

Soeren Sandmann sandmann at cs.au.dk
Mon May 9 03:46:04 PDT 2011


Dave Yeo <dave.r.yeo at gmail.com> writes:

> 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?

Pushed, thanks.


Soren


More information about the Pixman mailing list