From 63370215dd7777f4a68e387deccd0de6ef6f4fdc Mon Sep 17 00:00:00 2001 From: Hallvard B Furuseth Date: Wed, 29 Jun 2011 21:32:52 +0200 Subject: [PATCH] #define _XOPEN_SOURCE for random() --- libraries/libmdb/mtest.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/libmdb/mtest.c b/libraries/libmdb/mtest.c index 6b084f9658..1f43341d3a 100644 --- a/libraries/libmdb/mtest.c +++ b/libraries/libmdb/mtest.c @@ -1,3 +1,4 @@ +#define _XOPEN_SOURCE 500 /* srandom(), random() */ #include #include #include -- 2.39.5