Mercurial > libavformat.hg
diff rtpdec.c @ 3722:68749aaea50f libavformat
ensure we get explicit definition of various _XOPEN_SOURCE functions we use
| author | aurel |
|---|---|
| date | Thu, 14 Aug 2008 22:01:59 +0000 |
| parents | e6a42f4e5429 |
| children | ff6f5f6d55e6 |
line wrap: on
line diff
--- a/rtpdec.c Thu Aug 14 21:48:02 2008 +0000 +++ b/rtpdec.c Thu Aug 14 22:01:59 2008 +0000 @@ -19,6 +19,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +/* needed for gethostname() */ +#define _XOPEN_SOURCE 500 + #include "libavcodec/bitstream.h" #include "avformat.h" #include "mpegts.h"
