[PATCH 6/8] client: define EPROTO if it's not defined
Leonid Bobrov
mazocomp at disroot.org
Fri Feb 8 13:13:39 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..524f79d 100644
--- a/src/wayland-client.h
+++ b/src/wayland-client.h
@@ -36,6 +36,10 @@
#ifndef WAYLAND_CLIENT_H
#define WAYLAND_CLIENT_H
+#ifndef EPROTO
+# define EPROTO ENOPROTOOPT
+#endif
+
#include "wayland-client-core.h"
#include "wayland-client-protocol.h"
--
2.20.1
More information about the wayland-devel
mailing list