summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2019-02-26 23:39:31 +0100
committerGravatar Nikias Bassen2019-02-26 23:39:31 +0100
commitc644d6634fbf71306455bd0e15dd3e1f96ac249d (patch)
tree01dced2505f946c6bf18cd9f856ace270ef81790
parentc75605d862cd1c312494f6c715246febc26b2e05 (diff)
downloadlibusbmuxd-c644d6634fbf71306455bd0e15dd3e1f96ac249d.tar.gz
libusbmuxd-c644d6634fbf71306455bd0e15dd3e1f96ac249d.tar.bz2
win32: Make sure ECONNREFUSED is defined
-rw-r--r--src/libusbmuxd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libusbmuxd.c b/src/libusbmuxd.c
index 537c351..0a0dc88 100644
--- a/src/libusbmuxd.c
+++ b/src/libusbmuxd.c
@@ -45,6 +45,9 @@
#ifndef EBADMSG
#define EBADMSG 104
#endif
+#ifndef ECONNREFUSED
+#define ECONNREFUSED 107
+#endif
#include <unistd.h>
#include <signal.h>