Mercurial > libavcodec.hg
comparison utils.c @ 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 | 398636f16e7e |
| children | 6082ce39f8eb |
comparison
equal
deleted
inserted
replaced
| 7575:d73cd240d68c | 7576:e50e9def7428 |
|---|---|
| 23 /** | 23 /** |
| 24 * @file utils.c | 24 * @file utils.c |
| 25 * utils. | 25 * utils. |
| 26 */ | 26 */ |
| 27 | 27 |
| 28 /* needed for mkstemp() */ | |
| 29 #define _XOPEN_SOURCE 500 | |
| 30 | |
| 28 #include "libavutil/integer.h" | 31 #include "libavutil/integer.h" |
| 29 #include "libavutil/crc.h" | 32 #include "libavutil/crc.h" |
| 30 #include "avcodec.h" | 33 #include "avcodec.h" |
| 31 #include "dsputil.h" | 34 #include "dsputil.h" |
| 32 #include "opt.h" | 35 #include "opt.h" |
| 33 #include "imgconvert.h" | 36 #include "imgconvert.h" |
| 34 #include "audioconvert.h" | 37 #include "audioconvert.h" |
| 38 #include <stdlib.h> | |
| 35 #include <stdarg.h> | 39 #include <stdarg.h> |
| 36 #include <limits.h> | 40 #include <limits.h> |
| 37 #include <float.h> | 41 #include <float.h> |
| 38 #if !defined(HAVE_MKSTEMP) | 42 #if !defined(HAVE_MKSTEMP) |
| 39 #include <fcntl.h> | 43 #include <fcntl.h> |
