summaryrefslogtreecommitdiffstats
path: root/src/polypcore/socket-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/polypcore/socket-server.c')
-rw-r--r--src/polypcore/socket-server.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/polypcore/socket-server.c b/src/polypcore/socket-server.c
index f2e15085..4e89c5d3 100644
--- a/src/polypcore/socket-server.c
+++ b/src/polypcore/socket-server.c
@@ -56,6 +56,10 @@
#include "inet_ntop.h"
#endif
+#ifndef HAVE_INET_PTON
+#include "inet_pton.h"
+#endif
+
#include "winsock.h"
#include <polypcore/socket-util.h>