From ce80a05bf6ccb2ae97862a49da87e6bbf55f4106 Mon Sep 17 00:00:00 2001 From: Andy Hutchinson Date: Mon, 9 Jun 2008 22:56:35 +0000 Subject: [PATCH] * gcc.c-torture/execute/builtins/lib/chk.c: Only include sys/types.h for unix to check for uClibc. From-SVN: r136605 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.c-torture/execute/builtins/lib/chk.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 12fea9bb0a0..09740f5b4f7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-06-09 Andy Hutchinson + + * gcc.c-torture/execute/builtins/lib/chk.c: Only include sys/types.h + for unix to check for uClibc. + 2008-06-09 Andy Hutchinson PR testsuite/36285 diff --git a/gcc/testsuite/gcc.c-torture/execute/builtins/lib/chk.c b/gcc/testsuite/gcc.c-torture/execute/builtins/lib/chk.c index 67aa302524d..e5197902b24 100644 --- a/gcc/testsuite/gcc.c-torture/execute/builtins/lib/chk.c +++ b/gcc/testsuite/gcc.c-torture/execute/builtins/lib/chk.c @@ -1,5 +1,7 @@ #include +#ifdef __unix__ #include +#endif extern void abort (void); -- 2.30.2