#include <stdio.h>
-/* The same for snprintf() and vsnprintf(). */
-#define snprintf _snprintf
-#define vsnprintf _vsnprintf
-
/* Define a wgint type under Windows. */
typedef __int64 wgint;
#define SIZEOF_WGINT 8
const char *inet_ntop (int, const void *, char *, socklen_t);
#endif
-#ifdef NEED_GAI_STRERROR
-# undef gai_strerror
-# define gai_strerror strerror
-#endif
+/* ioctl needed by set_windows_fd_as_blocking_socket() */
+#include <sys/ioctl.h>
/* Public functions. */
void ws_percenttitle (double);
char *ws_mypath (void);
void windows_main (char **);
+void set_windows_fd_as_blocking_socket (int);
#endif /* MSWINDOWS_H */