From 22b57f6f2844ebe2d720a19315f5f3ad44c508ea Mon Sep 17 00:00:00 2001 From: Jasper Lievisse Adriaanse Date: Thu, 14 Dec 2017 09:45:01 +0100 Subject: [PATCH] Problem: Build is broken on OpenBSD Solution: re-instate block for OpenBSD erroneously removed in 9622a830 --- src/precompiled.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/precompiled.hpp b/src/precompiled.hpp index dc0bc36e..7d901052 100644 --- a/src/precompiled.hpp +++ b/src/precompiled.hpp @@ -39,6 +39,10 @@ #include "windows.hpp" #endif +#if defined ZMQ_HAVE_OPENBSD +#define ucred sockpeercred +#endif + // 0MQ definitions and exported functions #include "../include/zmq.h"