mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-30 13:47:13 +01:00
include sys/ucred.h for struct ucred
Platforms that have struct ucred, typically declare it in sys/ucred.h
This commit is contained in:
@@ -42,6 +42,9 @@
|
||||
#if defined ZMQ_HAVE_SO_PEERCRED || defined ZMQ_HAVE_LOCAL_PEERCRED
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
#ifdef ZMQ_HAVE_LOCAL_PEERCRED
|
||||
#include <sys/ucred.h>
|
||||
#endif
|
||||
|
||||
// Normal base 256 key is 32 bytes
|
||||
#define CURVE_KEYSIZE 32
|
||||
|
||||
Reference in New Issue
Block a user