From d26d01d19ca19553c1049fe21a004f6caf2af386 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 9 Sep 2006 16:18:28 +0000 Subject: [BZ #3189] 2006-09-09 Ulrich Drepper [BZ #3189] * misc/sys/mman.h (remap_file_pages): Make available for _GNU_SOURCE. --- misc/sys/mman.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'misc') diff --git a/misc/sys/mman.h b/misc/sys/mman.h index d9f4747..59718a2 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, -- cgit v1.1