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

Submitted by Leonid Bobrov on Feb. 8, 2019, 1:13 p.m.

Details

Message ID 20190208131341.15792-6-mazocomp@disroot.org
State Superseded
Headers show
Series "Series without cover letter" ( rev: 1 ) in Wayland

Not browsing as part of any series.

Commit Message

Leonid Bobrov Feb. 8, 2019, 1:13 p.m.
Signed-off-by: Leonid Bobrov <mazocomp@disroot.org>
---
 src/wayland-client.h | 4 ++++
 1 file changed, 4 insertions(+)

Patch hide | download patch | download mbox

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"