compat.h: Add MADV_MERGEABLE and MADV_UNMERGEABLE.
commitadf069e826b607568cbf729ea8aa5c8768108bd8
authorVinson Lee <vlee@twitter.com>
Sat, 2 Mar 2013 02:05:14 +0000 (1 18:05 -0800)
committerDave Jones <davej@redhat.com>
Sat, 2 Mar 2013 16:32:10 +0000 (2 11:32 -0500)
tree7c2f55348ffcf76c8872c4d9eece1f86b427f007
parent7de889644fee82ba1bbdd118a51478808254eb0b
compat.h: Add MADV_MERGEABLE and MADV_UNMERGEABLE.

This patch fixes these build errors with glibc 2.11 and older.

syscalls/madvise.c:28: error: ‘MADV_MERGEABLE’ undeclared here (not in a function)
syscalls/madvise.c:28: error: ‘MADV_UNMERGEABLE’ undeclared here (not in a function)

Signed-off-by: Vinson Lee <vlee@twitter.com>
include/compat.h