summaryrefslogtreecommitdiff
path: root/src/internal/fdpic_crt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/fdpic_crt.h')
-rw-r--r--src/internal/fdpic_crt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/internal/fdpic_crt.h b/src/internal/fdpic_crt.h
index 7eb50c6b..3c3f077d 100644
--- a/src/internal/fdpic_crt.h
+++ b/src/internal/fdpic_crt.h
@@ -1,7 +1,7 @@
#include <stdint.h>
+#include "libc.h"
-__attribute__((__visibility__("hidden")))
-void *__fdpic_fixup(void *map, uintptr_t *a, uintptr_t *z)
+hidden void *__fdpic_fixup(void *map, uintptr_t *a, uintptr_t *z)
{
/* If map is a null pointer, the program was loaded by a
* non-FDPIC-aware ELF loader, and fixups are not needed,