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"