summaryrefslogtreecommitdiff
path: root/libavformat/os_support.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/os_support.c')
-rw-r--r--libavformat/os_support.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/os_support.c b/libavformat/os_support.c
index cc109d5967..3357595590 100644
--- a/libavformat/os_support.c
+++ b/libavformat/os_support.c
@@ -19,6 +19,10 @@
* License along with FFmpeg; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+
+/* needed by inet_aton() */
+#define _SVID_SOURCE
+
#include "config.h"
#include "avformat.h"
#include <unistd.h>