summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-09-29 06:22:12 +0000
committerDiego Biurrun <diego@biurrun.de>2008-09-29 06:22:12 +0000
commitd0feff2a5b9bfb75f21387ce0d52618d524d6015 (patch)
tree723121f8222f0808e2283baab820535754195dea /libavformat/rtpdec.c
parentc44c4e181ff19e5dff592fb9c1e8f033766395aa (diff)
Uniformly define _XOPEN_SOURCE to 600.
The feature_tests.h header from Sun systems (Solaris/OpenSolaris) will abort the build if _XOPEN_SOURCE is defined to 500, and C99 is requested (as well as POSIX.1-2001), and will only accept it to be defined to 600. inspired by a patch from Diego Pettenò, flameeyes gmail com Originally committed as revision 15460 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtpdec.c')
-rw-r--r--libavformat/rtpdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c
index 9fb06ee5ab..119682041d 100644
--- a/libavformat/rtpdec.c
+++ b/libavformat/rtpdec.c
@@ -20,7 +20,7 @@
*/
/* needed for gethostname() */
-#define _XOPEN_SOURCE 500
+#define _XOPEN_SOURCE 600
#include "libavcodec/bitstream.h"
#include "avformat.h"