From: Hallvard B Furuseth Date: Wed, 29 Jun 2011 19:32:52 +0000 (+0200) Subject: #define _XOPEN_SOURCE for random() X-Git-Tag: OPENLDAP_REL_ENG_2_4_27~148^2~162 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=63370215dd7777f4a68e387deccd0de6ef6f4fdc;p=openldap #define _XOPEN_SOURCE for random() --- 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