From 6510c453ab524dad31d3618eab3a2ff62ace5651 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 24 Mar 2009 16:28:48 +0000 Subject: Add _XOPEN_SOURCE #define. This is necessary for (s)random(), which are XSI extensions of POSIX. Avoids implicit declaration warnings on some systems. Originally committed as revision 18178 to svn://svn.ffmpeg.org/ffmpeg/trunk --- tools/trasher.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/trasher.c') diff --git a/tools/trasher.c b/tools/trasher.c index baf1bc3f60..c7a0c7aa6a 100644 --- a/tools/trasher.c +++ b/tools/trasher.c @@ -18,6 +18,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#define _XOPEN_SOURCE 600 #include #include #include -- cgit v1.2.3