aboutsummaryrefslogtreecommitdiff
path: root/elf/dl-misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-misc.c')
-rw-r--r--elf/dl-misc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/dl-misc.c b/elf/dl-misc.c
index 4a811a0..5629c2a 100644
--- a/elf/dl-misc.c
+++ b/elf/dl-misc.c
@@ -19,6 +19,7 @@
#include <assert.h>
#include <fcntl.h>
+#include <ldsodefs.h>
#include <link.h>
#include <stdarg.h>
#include <string.h>
@@ -42,6 +43,7 @@ _dl_sysdep_open_zero_fill (void)
protections. *SIZEP gets the size of the file. */
void *
+internal_function
_dl_sysdep_read_whole_file (const char *file, size_t *sizep, int prot)
{
void *result;