diff udp.c @ 1754:1f7a6dc01100 libavformat

move networking #includes into separate file patch by Ramiro Polla angustia =a= arrozcru =d= no-ip =d= org
author mru
date Sun, 04 Feb 2007 17:05:44 +0000
parents 818eafa8fc95
children eb16c64144ee
line wrap: on
line diff
--- a/udp.c	Fri Feb 02 17:54:50 2007 +0000
+++ b/udp.c	Sun Feb 04 17:05:44 2007 +0000
@@ -20,11 +20,7 @@
  */
 #include "avformat.h"
 #include <unistd.h>
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <netdb.h>
+#include "network.h"
 
 #ifndef IPV6_ADD_MEMBERSHIP
 #define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP