[FFmpeg-devel] [PATCH] add _XOPEN_SOURCE definition to tools/trasher.c
Mon Mar 23 23:32:16 CET 2009
Diego Biurrun <diego at biurrun.de> writes:
> When compiling tools/trasher.c the following warnings appear:
> tools/trasher.c: In function 'main':
> tools/trasher.c:44: warning: implicit declaration of function 'srandom'
> tools/trasher.c:51: warning: implicit declaration of function 'random'
> According to
> (s)random is an XSI extension, so adding
> #define _XOPEN_SOURCE 600
> to the file seems to be the correct solution.
You attached an empty file. I don't think I've seen that before. And
in the same breath as commenting on somebody else's lack of patch too...
mans at mansr.com
More information about the ffmpeg-devel