aboutsummaryrefslogtreecommitdiffstats
path: root/bitlbee.h
diff options
context:
space:
mode:
Diffstat (limited to 'bitlbee.h')
-rw-r--r--bitlbee.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/bitlbee.h b/bitlbee.h
index 60694a2a..7c8b8a36 100644
--- a/bitlbee.h
+++ b/bitlbee.h
@@ -28,8 +28,11 @@
#define _GNU_SOURCE /* Stupid GNU :-P */
+/* Depend on Windows 2000 for now since we need getaddrinfo() */
+#define _WIN32_WINNT 0x0501
+
#define PACKAGE "BitlBee"
-#define BITLBEE_VERSION "1.2"
+#define BITLBEE_VERSION "1.2.1"
#define VERSION BITLBEE_VERSION
#define MAX_STRING 511
@@ -47,9 +50,10 @@
#include <stdarg.h>
#include <stdio.h>
#include <ctype.h>
+#include <errno.h>
+
#ifndef _WIN32
#include <syslog.h>
-#include <errno.h>
#endif
#include <glib.h>
@@ -94,10 +98,6 @@
#undef g_main_quit
#define g_main_quit __PLEASE_USE_B_MAIN_QUIT__
-#ifndef F_OK
-#define F_OK 0
-#endif
-
#ifndef G_GNUC_MALLOC
/* Doesn't exist in GLib <=2.4 while everything else in BitlBee should
work with it, so let's fake this one. */