aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/w32-estream.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/w32-estream.c b/src/w32-estream.c
index 5bb1bcf..e17ea2c 100644
--- a/src/w32-estream.c
+++ b/src/w32-estream.c
@@ -39,6 +39,10 @@
#include <io.h>
#include <windows.h>
+#ifndef EOPNOTSUPP
+# define EOPNOTSUPP ENOSYS
+#endif
+
/* Enable tracing. The value is the module name to be printed. */
/*#define ENABLE_TRACING "estream" */