aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/spellcheck-inttypes.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/spellcheck-inttypes.c b/gcc/testsuite/gcc.dg/spellcheck-inttypes.c
index 56dc2f3..1146a7c 100644
--- a/gcc/testsuite/gcc.dg/spellcheck-inttypes.c
+++ b/gcc/testsuite/gcc.dg/spellcheck-inttypes.c
@@ -1,4 +1,8 @@
/* { dg-options "-std=c99" } */
+/* Prevent AIX from implicitly including inttypes.h. */
+#ifdef _AIX
+#define _H_INTTYPES_TYPE_TS
+#endif
#include <stdio.h>
#include <stdint.h>
/* Missing <inttypes.h>. */