aboutsummaryrefslogtreecommitdiffstats
path: root/sock.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2005-12-17 21:56:50 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2005-12-17 21:56:50 +0100
commit7c0a4975a538ab75405e64919bbdfee51b898b2e (patch)
tree47d211522bbed3fda3b33b0233e91e3cf5cb9e23 /sock.h
parentb5a22e33a1aa2500093e783e79de2f44bf53c150 (diff)
parentad8b8a367c8e5dd2816096959682e2187df07c6c (diff)
Moved HTTP-stuff (right now only for passport) into a separate module. This
all works 100% asynchronous and non-blocking, so almost all I/O in BitlBee should be completely non-blocking now! Right now support for other modules than GnuTLS is probably broken, I'll fix it later.
Diffstat (limited to 'sock.h')
-rw-r--r--sock.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sock.h b/sock.h
index 9a9cc223..23a08bb4 100644
--- a/sock.h
+++ b/sock.h
@@ -1,3 +1,6 @@
+#include <errno.h>
+#include <fcntl.h>
+
#ifndef _WIN32
#include <unistd.h>
#include <sys/socket.h>