summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--polyp/socket-client.c1
-rw-r--r--polyp/socket-client.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/polyp/socket-client.c b/polyp/socket-client.c
index a55fd4ba..58bc7e80 100644
--- a/polyp/socket-client.c
+++ b/polyp/socket-client.c
@@ -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>
diff --git a/polyp/socket-client.h b/polyp/socket-client.h
index 9c3e0b37..b8c73ed8 100644
--- a/polyp/socket-client.h
+++ b/polyp/socket-client.h
@@ -23,11 +23,12 @@
***/
#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);