From c579a65655900f6fd1bcbad42b0d68d80caba303 Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Sun, 5 Nov 2023 11:39:10 +0000 Subject: [PATCH] don't pollute system headers with 3ds headers --- libctru/include/poll.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libctru/include/poll.h b/libctru/include/poll.h index 8b34a7a86..4bfbae32b 100644 --- a/libctru/include/poll.h +++ b/libctru/include/poll.h @@ -1,7 +1,5 @@ #pragma once -#include <3ds/types.h> - #define POLLIN 0x01 #define POLLPRI 0x02 #define POLLHUP 0x04 // unknown ??? @@ -9,7 +7,7 @@ #define POLLOUT 0x10 #define POLLNVAL 0x20 -typedef u32 nfds_t; +typedef unsigned int nfds_t; struct pollfd {