summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2022-03-29 09:40:54 +0200
committerGravatar Nikias Bassen2022-03-29 09:40:54 +0200
commit8bfa46bdf404af39d32b7cba8f0102b46a6a43e0 (patch)
tree8154b42aa5f4d020e8cd131772e80409518673e2
parenta39c960464e4e1a5952fb617cb557ad9f3f6471d (diff)
downloadlibimobiledevice-8bfa46bdf404af39d32b7cba8f0102b46a6a43e0.tar.gz
libimobiledevice-8bfa46bdf404af39d32b7cba8f0102b46a6a43e0.tar.bz2
common: Make sure ETIMEDOUT is defined
-rw-r--r--common/userpref.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/userpref.c b/common/userpref.c
index 32904c7..ddd380a 100644
--- a/common/userpref.c
+++ b/common/userpref.c
@@ -73,6 +73,10 @@
#include <shlobj.h>
#endif
+#ifndef ETIMEDOUT
+#define ETIMEDOUT 138
+#endif
+
#include <libimobiledevice-glue/utils.h>
#include "userpref.h"