Don't include sys/socket.h in the header when we do not need to.
authorPierre Ossman <ossman@cendio.se>
Thu, 5 Jan 2006 19:11:23 +0000 (19:11 +0000)
committerPierre Ossman <ossman@cendio.se>
Thu, 5 Jan 2006 19:11:23 +0000 (19:11 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@384 fefdeb5f-60dc-0310-8127-8f9354f1896f

polyp/socket-client.c
polyp/socket-client.h

index a55fd4b..58bc7e8 100644 (file)
@@ -31,6 +31,7 @@
 #include <string.h>
 #include <assert.h>
 #include <stdlib.h>
+#include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <netdb.h>
index 9c3e0b3..b8c73ed 100644 (file)
 ***/
 
 #include <inttypes.h>
-#include <sys/socket.h>
 
 #include "mainloop-api.h"
 #include "iochannel.h"
 
+struct sockaddr;
+
 struct pa_socket_client;
 
 struct pa_socket_client* pa_socket_client_new_ipv4(struct pa_mainloop_api *m, uint32_t address, uint16_t port);