Newer
Older
minerva / Ports / bash / patches / 0001-accept.c-Include-sys-select.h.patch
@minerva minerva on 13 Jul 738 bytes Initial commit
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Luke <luke.wilde@live.co.uk>
Date: Fri, 14 Jan 2022 16:43:10 +0330
Subject: [PATCH] accept.c: Include sys/select.h

This is transitively pulled in by other headers in some systems,
minerva is not one of them.
---
 examples/loadables/accept.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/examples/loadables/accept.c b/examples/loadables/accept.c
index ff98423dd0b256a79cd6d033abb381705daac868..0099f97f635885f6672f52efda2e90415659340a 100644
--- a/examples/loadables/accept.c
+++ b/examples/loadables/accept.c
@@ -36,6 +36,7 @@
 #include <sys/socket.h>
 #include <arpa/inet.h>
 #include <netinet/in.h>
+#include <sys/select.h>
 
 #include "loadables.h"