comparison rtpdec.c @ 3955:874534fb6d0f libavformat

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
author diego
date Mon, 29 Sep 2008 06:22:12 +0000
parents f936c4b8b96d
children 64056a0c38ce
comparison
equal deleted inserted replaced
3954:0ebebd2ba034 3955:874534fb6d0f
18 * License along with FFmpeg; if not, write to the Free Software 18 * License along with FFmpeg; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */ 20 */
21 21
22 /* needed for gethostname() */ 22 /* needed for gethostname() */
23 #define _XOPEN_SOURCE 500 23 #define _XOPEN_SOURCE 600
24 24
25 #include "libavcodec/bitstream.h" 25 #include "libavcodec/bitstream.h"
26 #include "avformat.h" 26 #include "avformat.h"
27 #include "mpegts.h" 27 #include "mpegts.h"
28 28