]> git.ozlabs.org Git - ccan/commitdiff
failtest: compile fix for OpenBSD
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 21 Mar 2012 00:48:18 +0000 (11:18 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 21 Mar 2012 00:48:18 +0000 (11:18 +1030)
OpenBSD doesn't idempotent-wrap sys/mman.h, so when we #define mmap to
an alternative, it fails to compile when sys/mman.h is included again.

Workaround is not to #define mmap to add arguments on Open BSD.


No differences found