]> git.sur5r.net Git - openldap/commitdiff
#define _XOPEN_SOURCE for random()
authorHallvard B Furuseth <h.b.furuseth@usit.uio.no>
Wed, 29 Jun 2011 19:32:52 +0000 (21:32 +0200)
committerHallvard B Furuseth <h.b.furuseth@usit.uio.no>
Wed, 29 Jun 2011 20:29:24 +0000 (22:29 +0200)
libraries/libmdb/mtest.c

index 6b084f96589088ee16e9aa92cf573e14b81441a3..1f43341d3a09e029942da17cd78583acbd9d4040 100644 (file)
@@ -1,3 +1,4 @@
+#define _XOPEN_SOURCE 500              /* srandom(), random() */
 #include <stdio.h>
 #include <stdlib.h>
 #include <time.h>