Commit 5a2739812dc545d064abc318b401d32ed76e822a
1 parent
fef61d68
Exists in
master
and in
3 other branches
Corrigindo problemas encontrados ao compilar para windows depois da última atualização do MinGW
Showing
8 changed files
with
40 additions
and
2 deletions
Show diff stats
ft_dft.c
html.c
... | ... | @@ -25,12 +25,16 @@ |
25 | 25 | * perry.werneck@gmail.com (Alexandre Perry de Souza Werneck) |
26 | 26 | * |
27 | 27 | */ |
28 | +#ifdef WIN32 | |
29 | + #include <winsock2.h> | |
30 | + #include <windows.h> | |
31 | +#endif // WIN32 | |
28 | 32 | |
29 | 33 | #include <string.h> |
30 | 34 | #include <stdlib.h> |
31 | 35 | #include <lib3270.h> |
32 | 36 | #include <lib3270/session.h> |
33 | -#include "3270ds.h" | |
37 | + #include "3270ds.h" | |
34 | 38 | #include <lib3270/html.h> |
35 | 39 | |
36 | 40 | #include "private.h" | ... | ... |
macros.c
private.h
... | ... | @@ -27,6 +27,11 @@ |
27 | 27 | * |
28 | 28 | */ |
29 | 29 | |
30 | +#ifdef WIN32 | |
31 | + #include <winsock2.h> | |
32 | + #include <windows.h> | |
33 | +#endif // WIN32 | |
34 | + | |
30 | 35 | /* Autoconf settings. */ |
31 | 36 | #include <lib3270/config.h> /* autoconf settings */ |
32 | 37 | #include <lib3270.h> /* lib3270 API calls and defs */ | ... | ... |
toggles.c