aports/testing/sopwith/select.patch
2023-06-26 16:11:20 +02:00

13 lines
270 B
Diff

diff --git a/src/tcpcomm.c b/src/tcpcomm.c
index 7d07fdf..f9b630f 100644
--- a/src/tcpcomm.c
+++ b/src/tcpcomm.c
@@ -29,6 +29,7 @@
#include <stdlib.h>
#include <errno.h>
#include <string.h>
+#include <sys/select.h>
#ifdef HAVE_NETINET_IN_H
#include <arpa/inet.h>