mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-10 16:06:09 +00:00
commit
3696d0d74f
@ -45,6 +45,9 @@
|
|||||||
#ifdef ZMQ_HAVE_SO_PEERCRED
|
#ifdef ZMQ_HAVE_SO_PEERCRED
|
||||||
# include <pwd.h>
|
# include <pwd.h>
|
||||||
# include <grp.h>
|
# include <grp.h>
|
||||||
|
# if defined ZMQ_HAVE_OPENBSD
|
||||||
|
# define ucred sockpeercred
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
zmq::ipc_listener_t::ipc_listener_t (io_thread_t *io_thread_,
|
zmq::ipc_listener_t::ipc_listener_t (io_thread_t *io_thread_,
|
||||||
|
@ -28,6 +28,9 @@
|
|||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
#if defined ZMQ_HAVE_OPENBSD
|
||||||
|
#define ucred sockpeercred
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -9,11 +9,13 @@
|
|||||||
#define FOR(i,n) for (i = 0;i < n;++i)
|
#define FOR(i,n) for (i = 0;i < n;++i)
|
||||||
#define sv static void
|
#define sv static void
|
||||||
|
|
||||||
|
#ifndef TWEETNACL_BASE_H
|
||||||
typedef unsigned char u8;
|
typedef unsigned char u8;
|
||||||
typedef unsigned long u32;
|
typedef unsigned long u32;
|
||||||
typedef unsigned long long u64;
|
typedef unsigned long long u64;
|
||||||
typedef long long i64;
|
typedef long long i64;
|
||||||
typedef i64 gf[16];
|
typedef i64 gf[16];
|
||||||
|
#endif
|
||||||
extern void randombytes(u8 *,u64);
|
extern void randombytes(u8 *,u64);
|
||||||
|
|
||||||
static const u8
|
static const u8
|
||||||
|
Loading…
x
Reference in New Issue
Block a user