summaryrefslogtreecommitdiff
path: root/lib/compat.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-03-03 16:05:48 +0100
committerLinus Nordberg <linus@nordu.net>2011-03-03 16:05:48 +0100
commit41a69151d5a375f524e2227f87979ff758bf2a62 (patch)
tree88ecbacb8131b14c1e9a4a3503179a618c0204ce /lib/compat.h
parentb01fafad7778040ec98619653328deecc1ef1ab1 (diff)
_init_evb: Don't crash on socket errors.
Diffstat (limited to 'lib/compat.h')
-rw-r--r--lib/compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/compat.h b/lib/compat.h
new file mode 100644
index 0000000..202d6dd
--- /dev/null
+++ b/lib/compat.h
@@ -0,0 +1 @@
+ssize_t compat_send (int sockfd, const void *buf, size_t len, int flags);