summaryrefslogtreecommitdiff
path: root/lib/addvdi3.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/addvdi3.c')
-rw-r--r--lib/addvdi3.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/addvdi3.c b/lib/addvdi3.c
index ded023e07296a..51ad397f5710d 100644
--- a/lib/addvdi3.c
+++ b/lib/addvdi3.c
@@ -11,6 +11,7 @@
*
* ===----------------------------------------------------------------------===
*/
+#include "abi.h"
#include "int_lib.h"
#include <stdlib.h>
@@ -19,7 +20,7 @@
/* Effects: aborts if a + b overflows */
-di_int
+COMPILER_RT_ABI di_int
__addvdi3(di_int a, di_int b)
{
di_int s = a + b;