* gcc.c-torture/execute/builtins/lib/chk.c: Only include sys/types.h for unix to...
authorAndy Hutchinson <hutchinsonandy@aim.com>
Mon, 9 Jun 2008 22:56:35 +0000 (22:56 +0000)
committerAndy Hutchinson <hutchinsonandy@gcc.gnu.org>
Mon, 9 Jun 2008 22:56:35 +0000 (22:56 +0000)
From-SVN: r136605

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/builtins/lib/chk.c

index 12fea9b..09740f5 100644 (file)
@@ -1,5 +1,10 @@
 2008-06-09  Andy Hutchinson  <hutchinsonandy@aim.com>
 
+       * gcc.c-torture/execute/builtins/lib/chk.c: Only include sys/types.h
+       for unix to check for uClibc.
+
+2008-06-09  Andy Hutchinson  <hutchinsonandy@aim.com>
+
        PR testsuite/36285
        * gcc.dg/compat/struct-return-10_y.c: Remove test_va.
        * gcc.dg/compat/vector-defs.h: Add check for availability of 8 byte 
index 67aa302..e519790 100644 (file)
@@ -1,5 +1,7 @@
 #include <stdarg.h>
+#ifdef __unix__
 #include <sys/types.h>
+#endif
 
 extern void abort (void);