From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ismael Luceno <ismael@sourcemage.org>
Date: Mon, 24 Jul 2023 15:05:19 +0200
Subject: [PATCH] Fix missing include

The <sys/types.h> header is required for u_char.

Fixes build against musl libc.

Upstream-Status: Pending
Origin: Source Mage
Signed-off-by: Ismael Luceno <ismael@sourcemage.org>
---
 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 <io.h>
 # include <fcntl.h>
-# include <sys/types.h>
 # include <sys/select.h>
 # include <machine/endian.h>
 #else
 # include <endian.h>
 #endif
 
+#include <sys/types.h>
 #include <sys/param.h>
 #include <sys/time.h>
 #include <sys/socket.h>
