Commit c099129b41c202a7aca09100c3063478ad43507f
Exists in
v5.2
Merge remote-tracking branch 'refs/remotes/origin/master'
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> | ... | ... |