summaryrefslogtreecommitdiffstats
path: root/loader/stubs.c
diff options
context:
space:
mode:
Diffstat (limited to 'loader/stubs.c')
-rw-r--r--loader/stubs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/loader/stubs.c b/loader/stubs.c
index e9c7d7cd4..0a7ebc0a6 100644
--- a/loader/stubs.c
+++ b/loader/stubs.c
@@ -1,3 +1,4 @@
+#include <gconv.h>
#define ASM_GLOBAL_DIRECTIVE .globl
#define __SYMBOL_PREFIX
@@ -15,10 +16,10 @@
void *__libc_stack_end;
int
-__gconv_OK () {return 0;}
+__gconv_OK () {return GCONV_OK;}
int
-__gconv_NOCONV () {return -1;}
+__gconv_NOCONV () {return GCONV_OK;}
strong_alias (__gconv_OK, __gconv_close_transform);
strong_alias (__gconv_NOCONV, __gconv);