diff options
Diffstat (limited to 'src/datatypes.h')
-rw-r--r-- | src/datatypes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/datatypes.h b/src/datatypes.h index 7025528..27fac4b 100644 --- a/src/datatypes.h +++ b/src/datatypes.h @@ -54,8 +54,11 @@ typedef u_int16_t mux_t; #ifndef _MSC_VER #define ATTR_PACKED __attribute__((__packed__)) +typedef int system_error_t; #else +#include <windows.h> #define ATTR_PACKED +typedef DWORD system_error_t; #endif #endif |