Commit 60933587c8253da90322f4e23b16ce0399b33a34
1 parent
0b791f38
Exists in
v5.2
Fixing windows builds.
Showing
2 changed files
with
15 additions
and
3 deletions
Show diff stats
src/libpw3270cpp/exception.cc
src/libpw3270cpp/session.cc
... | ... | @@ -28,6 +28,13 @@ |
28 | 28 | */ |
29 | 29 | |
30 | 30 | #include <config.h> |
31 | + | |
32 | + #ifdef WIN32 | |
33 | + #include <windows.h> | |
34 | + #else | |
35 | + #include <unistd.h> | |
36 | + #endif // WIN32 | |
37 | + | |
31 | 38 | #include <stdarg.h> |
32 | 39 | #include <stdio.h> |
33 | 40 | #include <string.h> |
... | ... | @@ -35,9 +42,6 @@ |
35 | 42 | |
36 | 43 | #include "private.h" |
37 | 44 | |
38 | -#ifndef WIN32 | |
39 | - #include <unistd.h> | |
40 | -#endif // !WIN32 | |
41 | 45 | |
42 | 46 | #ifdef HAVE_SYSLOG |
43 | 47 | #include <syslog.h> | ... | ... |