Commit 94d2dd0bda3aed9664fb751127956e4aeb1b8b7b

Authored by Perry Werneck
1 parent f66bcb1b
Exists in master and in 1 other branch develop

Fixing windows build.

src/terminal/charset.c
... ... @@ -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 38 #include <terminal.h>
31 39 #include <v3270.h>
32 40 #include <lib3270/charset.h>
33 41 #include <lib3270/log.h>
34 42 #include <v3270/dialogs.h>
35 43  
36   -#ifdef _WIN32
37   - #include <lmcons.h>
38   -#endif // _WIN32
39   -
40 44 #define ERROR_DOMAIN g_quark_from_static_string(PACKAGE_NAME)
41 45  
42 46 /*--[ Implement ]------------------------------------------------------------------------------------*/
... ...
src/terminal/windows/iosource.c
... ... @@ -28,6 +28,12 @@
28 28 */
29 29  
30 30 #include <config.h>
  31 +
  32 + #ifdef _WIN32
  33 + #include <winsock2.h>
  34 + #include <windows.h>
  35 + #endif // _WIN32
  36 +
31 37 #include <terminal.h>
32 38  
33 39 /*---[ Structs ]-------------------------------------------------------------------------------------------*/
... ...