summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>