Skip to content

Commit c579a65

Browse files
committed
don't pollute system headers with 3ds headers
1 parent bf4a24a commit c579a65

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

libctru/include/poll.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
#pragma once
22

3-
#include <3ds/types.h>
4-
53
#define POLLIN 0x01
64
#define POLLPRI 0x02
75
#define POLLHUP 0x04 // unknown ???
86
#define POLLERR 0x08 // probably
97
#define POLLOUT 0x10
108
#define POLLNVAL 0x20
119

12-
typedef u32 nfds_t;
10+
typedef unsigned int nfds_t;
1311

1412
struct pollfd
1513
{

0 commit comments

Comments
 (0)