about summary refs log tree commit diff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/sys/mman.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/sys/mman.h b/misc/sys/mman.h
index d9f4747b7f..59718a267f 100644
--- a/misc/sys/mman.h
+++ b/misc/sys/mman.h
@@ -131,7 +131,9 @@ extern void *mremap (void *__addr, size_t __old_len, size_t __new_len,
    it is zero.  */
 extern int mincore (void *__start, size_t __len, unsigned char *__vec)
      __THROW;
+#endif
 
+#ifdef __USE_GNU
 /* Remap arbitrary pages of a shared backing store within an existing
    VMA.  */
 extern int remap_file_pages (void *__start, size_t __size, int __prot,