diff -rup a/mem.c b/mem.c
--- a/mem.c 2017-05-22 13:33:51.000000000 -0400
+++ b/mem.c 2017-06-15 23:02:23.235425914 -0400
@@ -217,6 +217,13 @@ SYS_FUNC(mremap)
return RVAL_DECODED | RVAL_HEX;
}
+#ifndef MADV_DONTDUMP
+#define MADV_DONTDUMP 16
+#endif
+#ifndef MADV_DODUMP
+#define MADV_DODUMP 17
+#endif
+
#include "xlat/madvise_cmds.h"
SYS_FUNC(madvise)