From 12753e9e31e11bea074ecb7454ac42eabda8f0ee Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 26 Mar 2013 16:41:20 +1100 Subject: [PATCH] check for MAP_FILE --- lib/dns/tests/rbt_test.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/dns/tests/rbt_test.c b/lib/dns/tests/rbt_test.c index 79ca097d84..ff883a9e31 100644 --- a/lib/dns/tests/rbt_test.c +++ b/lib/dns/tests/rbt_test.c @@ -305,6 +305,9 @@ ATF_TC_BODY(isc_serialize_rbt, tc) { */ printf("deserialization begins.\n"); +#ifndef MAP_FILE +#define MAP_FILE 0 +#endif /* * Map in the whole file in one go */