Commit 84d889bd74cbe93314003abe75c17a335f56fadd

Authored by Perry Werneck
1 parent 58ec3400

Fixing windows builds.

src/lib3270/windows/connect.c
@@ -40,6 +40,7 @@ @@ -40,6 +40,7 @@
40 #include "../private.h" 40 #include "../private.h"
41 #include <errno.h> 41 #include <errno.h>
42 #include <lib3270/trace.h> 42 #include <lib3270/trace.h>
  43 +#include <lib3270/log.h>
43 44
44 #ifdef HAVE_ICONV 45 #ifdef HAVE_ICONV
45 #include <iconv.h> 46 #include <iconv.h>
@@ -47,10 +48,8 @@ @@ -47,10 +48,8 @@
47 48
48 #define SOCK_CLOSE(s) closesocket(s->sock); s->sock = -1; 49 #define SOCK_CLOSE(s) closesocket(s->sock); s->sock = -1;
49 50
50 -//#include "statusc.h"  
51 #include "hostc.h" 51 #include "hostc.h"
52 #include "trace_dsc.h" 52 #include "trace_dsc.h"
53 -//#include "utilc.h"  
54 #include "telnetc.h" 53 #include "telnetc.h"
55 #include "screen.h" 54 #include "screen.h"
56 55
src/lib3270/windows/event_dispatcher.c
@@ -35,13 +35,8 @@ @@ -35,13 +35,8 @@
35 #include "../private.h" 35 #include "../private.h"
36 #include <sys/time.h> 36 #include <sys/time.h>
37 #include <sys/types.h> 37 #include <sys/types.h>
38 -//#include "xioc.h"  
39 -//#include "telnetc.h"  
40 -//#include "utilc.h" 38 +#include <lib3270/log.h>
41 39
42 -//#define MILLION 1000000L  
43 -// #define MAX_HA 256  
44 -//#endif  
45 #define TN (timeout_t *)NULL 40 #define TN (timeout_t *)NULL
46 41
47 /*---[ Implement ]------------------------------------------------------------------------------------------*/ 42 /*---[ Implement ]------------------------------------------------------------------------------------------*/
src/lib3270/windows/util.c
@@ -47,15 +47,7 @@ @@ -47,15 +47,7 @@
47 #include <iconv.h> 47 #include <iconv.h>
48 #endif // HAVE_ICONV 48 #endif // HAVE_ICONV
49 49
50 -//#include <stdarg.h>  
51 -//#include "resources.h"  
52 -  
53 -//#include "utilc.h"  
54 -//#include "popupsc.h"  
55 -//#include "api.h"  
56 -  
57 -//#include <lib3270/session.h>  
58 -//#include <lib3270/selection.h> 50 +#include <lib3270/log.h>
59 51
60 #define my_isspace(c) isspace((unsigned char)c) 52 #define my_isspace(c) isspace((unsigned char)c)
61 53