<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ismael Luceno &lt;ismael@sourcemage.org&gt;
Date: Mon, 24 Jul 2023 15:05:19 +0200
Subject: [PATCH] Fix missing include

The &lt;sys/types.h&gt; header is required for u_char.

Fixes build against musl libc.

Upstream-Status: Pending
Origin: Source Mage
Signed-off-by: Ismael Luceno &lt;ismael@sourcemage.org&gt;
---
 netselect.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/netselect.c.orig b/netselect.c
index 31828f26d6b9..37e6445164e8 100644
--- a/netselect.c
+++ b/netselect.c
@@ -42,13 +42,13 @@
 #ifdef __EMX__
 # include &lt;io.h&gt;
 # include &lt;fcntl.h&gt;
-# include &lt;sys/types.h&gt;
 # include &lt;sys/select.h&gt;
 # include &lt;machine/endian.h&gt;
 #else
 # include &lt;endian.h&gt;
 #endif
 
+#include &lt;sys/types.h&gt;
 #include &lt;sys/param.h&gt;
 #include &lt;sys/time.h&gt;
 #include &lt;sys/socket.h&gt;
</pre></body></html>