summaryrefslogtreecommitdiff
path: root/lib/ccan/failtest/failtest_override.h
AgeCommit message (Collapse)AuthorFilesLines
2012-04-11ccan: Fix failtest on Fedora 16 as stdlib.h does not imply malloc.hAndrew Bartlett1-0/+4
The issue is that there are two different sources of the malloc prototype, and they both need to be included otherwise the failtest overrides chokes on the headers. Andrew Bartlett
2012-03-22lib/ccan/failtest: compile fix for OpenBSDRusty Russell1-0/+6
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. (Imported from CCAN commit e18e80fe175422d26efe689addc0f67bdba0e097) Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-03-07lib/ccan: import failtest and required ccan modules for TDB2 unit tests.Rusty Russell1-0/+81
New modules: failtest, list, time, read_write_all and tlist. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>