Merge pull request #2868 from jasperla/openbsd/ucred

Problem: Build is broken on OpenBSD
This commit is contained in:
Luca Boccassi 2017-12-14 09:08:15 +00:00 committed by GitHub
commit 87fbe5a542
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"