[SCM] libav/experimental: use network.h instead network includes

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:59:18 UTC 2013


The following commit has been merged in the experimental branch:
commit 0bdacf29d40b11cfd5dd0d13577a4bdc90afdcea
Author: Alex Beregszaszi <alex at rtfs.hu>
Date:   Fri Apr 27 00:17:46 2007 +0000

    use network.h instead network includes
    
    Originally committed as revision 8844 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/ffserver.c b/ffserver.c
index c34e47a..e7b0b7b 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -32,17 +32,13 @@
 #include <sys/time.h>
 #undef time //needed because HAVE_AV_CONFIG_H is defined on top
 #include <time.h>
-#include <sys/types.h>
-#include <sys/socket.h>
 #include <sys/wait.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <netdb.h>
 #include <signal.h>
 #ifdef HAVE_DLFCN_H
 #include <dlfcn.h>
 #endif
 
+#include "network.h"
 #include "version.h"
 #include "ffserver.h"
 #include "random.h"

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list