Mercurial > libavcodec.hg
changeset 7576:e50e9def7428 libavcodec
ensure we get explicit definition of various _XOPEN_SOURCE functions we use
| author | aurel |
|---|---|
| date | Thu, 14 Aug 2008 22:01:59 +0000 |
| parents | d73cd240d68c |
| children | ed956c3c2cf3 |
| files | utils.c |
| diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/utils.c Thu Aug 14 19:38:39 2008 +0000 +++ b/utils.c Thu Aug 14 22:01:59 2008 +0000 @@ -25,6 +25,9 @@ * utils. */ +/* needed for mkstemp() */ +#define _XOPEN_SOURCE 500 + #include "libavutil/integer.h" #include "libavutil/crc.h" #include "avcodec.h" @@ -32,6 +35,7 @@ #include "opt.h" #include "imgconvert.h" #include "audioconvert.h" +#include <stdlib.h> #include <stdarg.h> #include <limits.h> #include <float.h>
