#define _XOPEN_SOURCE for random()

This commit is contained in:
Hallvard B Furuseth 2011-06-29 21:32:52 +02:00
parent f88d626ff1
commit 63370215dd

View File

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