From fa5aa1c54c1fdbcec06fb607eb66c2f0809f8737 Mon Sep 17 00:00:00 2001 From: Philip Oakley Date: Thu, 21 Apr 2016 14:07:20 +0100 Subject: [PATCH] msvc: include sigset_t definition On MSVC (VS2008) sigset_t is not defined. Signed-off-by: Philip Oakley --- compat/msvc.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compat/msvc.h b/compat/msvc.h index 580bb55bf4..c64d5a56b2 100644 --- a/compat/msvc.h +++ b/compat/msvc.h @@ -24,6 +24,10 @@ static __inline int strcasecmp (const char *s1, const char *s2) #undef ERROR +#ifdef _MSC_VER +typedef int sigset_t; +#endif + #include "compat/mingw.h" #endif