diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-03-24 16:28:48 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-03-24 16:28:48 +0000 |
commit | 6510c453ab524dad31d3618eab3a2ff62ace5651 (patch) | |
tree | 45edff06597f519fe0a205caa097eb03a3a2ca33 /tools | |
parent | 4626ee1a8ce17e93a37dd1c70c63256632cee281 (diff) | |
download | ffmpeg-6510c453ab524dad31d3618eab3a2ff62ace5651.tar.gz |
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
Diffstat (limited to 'tools')
-rw-r--r-- | tools/trasher.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 <stdio.h> #include <stdlib.h> #include <time.h> |