summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorJeremy Huddleston Sequoia <jeremyhu@users.noreply.github.com>2020-10-27 07:05:28 -0700
committerGitHub <noreply@github.com>2020-10-27 10:05:28 -0400
commit93cf288ddd59c7cb203c1aba25de5e5b8f308da6 (patch)
tree538ed29154a233faa9fa58fdba1fa03b2f1dfc8b /testsuite
parentc78fcf88ab13a5cc414826a018dd46c3f886adee (diff)
downloadlibffi-93cf288ddd59c7cb203c1aba25de5e5b8f308da6.tar.gz
testsuite: Add a missing include of <inttypes.h> to fix build failure in test suite (#587)
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/libffi.closures/huge_struct.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/libffi.closures/huge_struct.c b/testsuite/libffi.closures/huge_struct.c
index 1915c3f..e8e1d86 100644
--- a/testsuite/libffi.closures/huge_struct.c
+++ b/testsuite/libffi.closures/huge_struct.c
@@ -9,6 +9,8 @@
/* { dg-options -mlong-double-128 { target powerpc64*-*-linux* } } */
/* { dg-options -Wformat=0 { target moxie*-*-elf or1k-*-* } } */
+#include <inttypes.h>
+
#include "ffitest.h"
typedef struct BigStruct{