Skip to content

Commit 9f67ab6

Browse files
committed
mingw: Make sure sigset_t is defined
With MSys2, the sigset_t type is defined in sys/types.h, therefore we need to #include said file. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 5b4d26c commit 9f67ab6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

compat/mingw.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#include <stdint.h>
22
#include <wchar.h>
3+
#include <sys/types.h>
4+
#ifndef _POSIX
5+
typedef _sigset_t sigset_t;
6+
#endif
37
#include <winsock2.h>
48
#include <ws2tcpip.h>
59
/*

0 commit comments

Comments
 (0)