From 1b5bc65645973c09f930184c4aae2433a2e8c5f8 Mon Sep 17 00:00:00 2001
From: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Date: Fri, 5 Mar 2010 20:13:00 +0100
Subject: [PATCH] define EPROTO fallback for openbsd

---
 src/libs/utils/process_stub_unix.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/libs/utils/process_stub_unix.c b/src/libs/utils/process_stub_unix.c
index 02e9c5a210d..a6259ef1572 100644
--- a/src/libs/utils/process_stub_unix.c
+++ b/src/libs/utils/process_stub_unix.c
@@ -46,6 +46,11 @@
 #include <stdio.h>
 #include <errno.h>
 
+/* For OpenBSD */
+#ifndef EPROTO
+# define EPROTO EINVAL
+#endif
+
 extern char **environ;
 
 static int qtcFd;
-- 
GitLab