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

Submitted by Leonid Bobrov on Feb. 9, 2019, 2:42 a.m.

Details

Message ID 20190209024257.49580-3-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. 9, 2019, 2:42 a.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..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