Skip to content

Commit

Permalink
mingw: Make sure sigset_t is defined
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
dscho committed Mar 20, 2015
1 parent b7ec3da commit c31754f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions compat/mingw.h
Original file line number Diff line number Diff line change
@@ -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>
/*
Expand Down

0 comments on commit c31754f

Please sign in to comment.