[PATCH 3/6] client: define EPROTO if it's not defined

Leonid Bobrov mazocomp at disroot.org
Fri Feb 8 17:28:14 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