summaryrefslogtreecommitdiff
path: root/libavformat/network.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/network.h')
-rw-r--r--libavformat/network.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/network.h b/libavformat/network.h
index 7f467304a8..71347e815b 100644
--- a/libavformat/network.h
+++ b/libavformat/network.h
@@ -50,6 +50,9 @@
#ifndef EINPROGRESS
#define EINPROGRESS WSAEINPROGRESS
#endif
+#ifndef ENOTCONN
+#define ENOTCONN WSAENOTCONN
+#endif
#define getsockopt(a, b, c, d, e) getsockopt(a, b, c, (char*) d, e)
#define setsockopt(a, b, c, d, e) setsockopt(a, b, c, (const char*) d, e)