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 <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin authored and 마누엘 committed 2015-05-27 09:39:17 +02:00
1 parent 5ae11aa07a
commit d62f90702f
1 file changed
+4
+4
View File
@@ -1,5 +1,9 @@
#include <stdint.h>
#include <wchar.h>
#include <sys/types.h>
#ifndef _POSIX
typedef _sigset_t sigset_t;
#endif
#include <winsock2.h>
#include <ws2tcpip.h>
/*