aboutsummaryrefslogtreecommitdiffstats
path: root/bitlbee.h
diff options
context:
space:
mode:
Diffstat (limited to 'bitlbee.h')
-rw-r--r--bitlbee.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/bitlbee.h b/bitlbee.h
index 420ab70a..18cb5f2e 100644
--- a/bitlbee.h
+++ b/bitlbee.h
@@ -47,9 +47,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 +95,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. */