diff options
Diffstat (limited to 'sysdeps/generic/dl-sysdep.c')
-rw-r--r-- | sysdeps/generic/dl-sysdep.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/generic/dl-sysdep.c b/sysdeps/generic/dl-sysdep.c index 9fab0f0..8f9e782 100644 --- a/sysdeps/generic/dl-sysdep.c +++ b/sysdeps/generic/dl-sysdep.c @@ -109,11 +109,15 @@ _dl_sysdep_start_cleanup (void) { } +#ifndef MAP_ANON +/* This is only needed if the system doesn't support MAP_ANON. */ + int _dl_sysdep_open_zero_fill (void) { return __open ("/dev/zero", O_RDONLY); } +#endif void _dl_sysdep_fatal (const char *msg, ...) |