aports/community/libindi/0001-explicitly-include-sockets.h.patch
2024-04-23 19:48:32 +00:00

25 lines
716 B
Diff

From e243d8bed70dbfdf3cf855056548eeaa347f9262 Mon Sep 17 00:00:00 2001
From: Clayton Craft <clayton@craftyguy.net>
Date: Fri, 23 Feb 2024 23:23:54 -0800
Subject: [PATCH] explicitly include sockets.h
---
libs/sockets/select.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/libs/sockets/select.h b/libs/sockets/select.h
index 5cbdf72..e8b5b77 100644
--- a/libs/sockets/select.h
+++ b/libs/sockets/select.h
@@ -35,6 +35,7 @@ static const SocketFileDescriptor SocketInvalid = INVALID_SOCKET;
#include <unistd.h>
#include <netdb.h>
#include <sys/socket.h> // select
+#include <sys/select.h> // select
typedef int SocketFileDescriptor;
static const SocketFileDescriptor SocketInvalid = -1;
#endif
--
2.43.2