changeset 3424:1c2fb4764745

Moved the network related include files from network.c to network.h
author bertrand
date Mon, 10 Dec 2001 01:34:08 +0000
parents a01b322bab55
children 387ddda42e1e
files libmpdemux/network.c libmpdemux/network.h
diffstat 2 files changed, 8 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/network.c	Mon Dec 10 01:00:38 2001 +0000
+++ b/libmpdemux/network.c	Mon Dec 10 01:34:08 2001 +0000
@@ -11,16 +11,6 @@
 #include <string.h>
 #include <unistd.h>
 
-#include <fcntl.h>
-#include <netdb.h>
-#include <netinet/in.h>
-#include <sys/time.h>
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <arpa/inet.h>
-
-#include <pthread.h>
-
 #include <errno.h>
 #include <ctype.h>
 
--- a/libmpdemux/network.h	Mon Dec 10 01:00:38 2001 +0000
+++ b/libmpdemux/network.h	Mon Dec 10 01:34:08 2001 +0000
@@ -7,6 +7,14 @@
 #ifndef __NETWORK_H
 #define __NETWORK_H
 
+#include <fcntl.h>
+#include <netdb.h>
+#include <netinet/in.h>
+#include <sys/time.h>
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <arpa/inet.h>
+
 #include "url.h"
 
 #define BUFFER_SIZE		2048