about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorTrutz Behn <me@trutz.be>2015-01-28 18:46:52 +0100
committerRich Felker <dalias@aerifal.cx>2015-01-30 22:02:23 -0500
commit2d67ae923d11d766d9a6cea714fa487b52579f6a (patch)
tree58a14d50d8ccd612be1720085a3d26a29b597648 /include
parentc7b05bc81732e9471e8f61e2dc48ff590572724e (diff)
downloadmusl-2d67ae923d11d766d9a6cea714fa487b52579f6a.tar.gz
musl-2d67ae923d11d766d9a6cea714fa487b52579f6a.tar.xz
musl-2d67ae923d11d766d9a6cea714fa487b52579f6a.zip
move MREMAP_MAYMOVE and MREMAP_FIXED out of bits
the definitions are generic for all kernel archs. exposure of these
macros now only occurs on the same feature test as for the function
accepting them, which is believed to be more correct.
Diffstat (limited to 'include')
-rw-r--r--include/sys/mman.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sys/mman.h b/include/sys/mman.h
index a34448a6..9fc2db51 100644
--- a/include/sys/mman.h
+++ b/include/sys/mman.h
@@ -32,6 +32,8 @@ int mlockall (int);
 int munlockall (void);
 
 #ifdef _GNU_SOURCE
+#define MREMAP_MAYMOVE 1
+#define MREMAP_FIXED 2
 void *mremap (void *, size_t, size_t, int, ...);
 int remap_file_pages (void *, size_t, int, size_t, int);
 #endif