summaryrefslogtreecommitdiff
path: root/include/sys/mman.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/mman.h')
-rw-r--r--include/sys/mman.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sys/mman.h b/include/sys/mman.h
index fd125ecb9c..7026f69f42 100644
--- a/include/sys/mman.h
+++ b/include/sys/mman.h
@@ -16,6 +16,10 @@ libc_hidden_proto (__madvise)
/* This one is Linux specific. */
extern void *__mremap (void *__addr, size_t __old_len,
size_t __new_len, int __flags, ...);
+
+# if IS_IN (rtld)
+# include <dl-mman.h>
+# endif
#endif
#endif