From: Garrett C. <ris...@li...> - 2010-04-08 04:39:30
|
The branch, pu, has been updated via e90e0138cb7444d5db967183397b776979efd593 (commit) from 001227f859f24bde222d0813d9327afe4c132a33 (commit) - Log ----------------------------------------------------------------- commit e90e0138cb7444d5db967183397b776979efd593 Author: Garrett Cooper <yan...@gm...> Date: Wed Apr 7 21:37:13 2010 -0700 Fix a typo and add a missing definition for non-Linux platforms. aio.h appears to either define or pull in other headers that define NULL. This isn't true on FreeBSD. Signed-off-by: Garrett Cooper <yan...@gm...> ----------------------------------------------------------------------- Summary of changes: .../conformance/definitions/aio_h/2-1.c | 1 + .../conformance/definitions/errno_h/3-1.c | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/testcases/open_posix_testsuite/conformance/definitions/aio_h/2-1.c b/testcases/open_posix_testsuite/conformance/definitions/aio_h/2-1.c index ef0f2c5..7ae8001 100644 --- a/testcases/open_posix_testsuite/conformance/definitions/aio_h/2-1.c +++ b/testcases/open_posix_testsuite/conformance/definitions/aio_h/2-1.c @@ -9,6 +9,7 @@ /* test if aio.h exists and can be included */ #include <aio.h> +#include <stdlib.h> /* For NULL on non-linux platforms. */ int main(void) { diff --git a/testcases/open_posix_testsuite/conformance/definitions/errno_h/3-1.c b/testcases/open_posix_testsuite/conformance/definitions/errno_h/3-1.c index 40c8cb3..ed1c519 100644 --- a/testcases/open_posix_testsuite/conformance/definitions/errno_h/3-1.c +++ b/testcases/open_posix_testsuite/conformance/definitions/errno_h/3-1.c @@ -1,5 +1,5 @@ /* - *Following symbles need to be defined in errno.h + *Following symbols need to be defined in errno.h *author:ys...@ln... */ hooks/post-receive -- ltp |