Commit 620c78240a11645859b60487518a8b1e961b4e7f
1 parent
9a66c09d
Exists in
master
and in
5 other branches
Corrigindo compilacao em windows
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
src/lib3270/toggles.c
@@ -38,7 +38,10 @@ | @@ -38,7 +38,10 @@ | ||
38 | 38 | ||
39 | #include <errno.h> | 39 | #include <errno.h> |
40 | #include <sys/types.h> | 40 | #include <sys/types.h> |
41 | -#include <sys/socket.h> | 41 | + |
42 | +#ifndef WIN32 | ||
43 | + #include <sys/socket.h> | ||
44 | +#endif // !WIN32 | ||
42 | 45 | ||
43 | #include <lib3270/config.h> | 46 | #include <lib3270/config.h> |
44 | #include "toggle.h" | 47 | #include "toggle.h" |