aboutsummaryrefslogtreecommitdiff
path: root/test/builtins/Unit/fixunstfdi_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/builtins/Unit/fixunstfdi_test.c')
-rw-r--r--test/builtins/Unit/fixunstfdi_test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/builtins/Unit/fixunstfdi_test.c b/test/builtins/Unit/fixunstfdi_test.c
index d0a5db7a9c97..60ea503d2778 100644
--- a/test/builtins/Unit/fixunstfdi_test.c
+++ b/test/builtins/Unit/fixunstfdi_test.c
@@ -11,10 +11,11 @@
//
//===----------------------------------------------------------------------===//
+#include <stdio.h>
+
#if _ARCH_PPC
#include "int_lib.h"
-#include <stdio.h>
// Returns: convert a to a unsigned long long, rounding toward zero.
// Negative values all become zero.
@@ -24,7 +25,7 @@
// value in long double is representable in du_int or is negative
// (no range checking performed)
-du_int __fixunstfdi(long double a);
+COMPILER_RT_ABI du_int __fixunstfdi(long double a);
int test__fixunstfdi(long double a, du_int expected)
{