Commit 94d2dd0bda3aed9664fb751127956e4aeb1b8b7b
1 parent
f66bcb1b
Exists in
master
and in
1 other branch
Fixing windows build.
Showing
2 changed files
with
14 additions
and
4 deletions
Show diff stats
src/terminal/charset.c
@@ -27,16 +27,20 @@ | @@ -27,16 +27,20 @@ | ||
27 | * | 27 | * |
28 | */ | 28 | */ |
29 | 29 | ||
30 | + #include <config.h> | ||
31 | + | ||
32 | + #ifdef _WIN32 | ||
33 | + #include <winsock2.h> | ||
34 | + #include <windows.h> | ||
35 | + #include <lmcons.h> | ||
36 | + #endif // _WIN32 | ||
37 | + | ||
30 | #include <terminal.h> | 38 | #include <terminal.h> |
31 | #include <v3270.h> | 39 | #include <v3270.h> |
32 | #include <lib3270/charset.h> | 40 | #include <lib3270/charset.h> |
33 | #include <lib3270/log.h> | 41 | #include <lib3270/log.h> |
34 | #include <v3270/dialogs.h> | 42 | #include <v3270/dialogs.h> |
35 | 43 | ||
36 | -#ifdef _WIN32 | ||
37 | - #include <lmcons.h> | ||
38 | -#endif // _WIN32 | ||
39 | - | ||
40 | #define ERROR_DOMAIN g_quark_from_static_string(PACKAGE_NAME) | 44 | #define ERROR_DOMAIN g_quark_from_static_string(PACKAGE_NAME) |
41 | 45 | ||
42 | /*--[ Implement ]------------------------------------------------------------------------------------*/ | 46 | /*--[ Implement ]------------------------------------------------------------------------------------*/ |
src/terminal/windows/iosource.c
@@ -28,6 +28,12 @@ | @@ -28,6 +28,12 @@ | ||
28 | */ | 28 | */ |
29 | 29 | ||
30 | #include <config.h> | 30 | #include <config.h> |
31 | + | ||
32 | + #ifdef _WIN32 | ||
33 | + #include <winsock2.h> | ||
34 | + #include <windows.h> | ||
35 | + #endif // _WIN32 | ||
36 | + | ||
31 | #include <terminal.h> | 37 | #include <terminal.h> |
32 | 38 | ||
33 | /*---[ Structs ]-------------------------------------------------------------------------------------------*/ | 39 | /*---[ Structs ]-------------------------------------------------------------------------------------------*/ |