[PATCH v4 03/10] client: define EPROTO if it's not defined

Leonid Bobrov mazocomp at disroot.org
Sat Feb 9 09:16:38 UTC 2019


Signed-off-by: Leonid Bobrov <mazocomp at disroot.org>
---
 src/wayland-client.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/wayland-client.h b/src/wayland-client.h
index 9f70fa3..690c446 100644
--- a/src/wayland-client.h
+++ b/src/wayland-client.h
@@ -39,4 +39,8 @@
 #include "wayland-client-core.h"
 #include "wayland-client-protocol.h"
 
+#ifndef EPROTO
+#define EPROTO ENOPROTOOPT
+#endif
+
 #endif
-- 
2.20.1



More information about the wayland-devel mailing list