diff options
| author | Francisc Simon <37810708+opunix@users.noreply.github.com> | 2018-08-19 17:12:16 +0200 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-08-19 20:12:16 +0500 |
| commit | 9683efb2adee597304151299e5f55e6ab693605a (patch) | |
| tree | e74dd077e5712dd931cf89817b40eceafac231c4 /CMakeLists.txt | |
| parent | 1d7594451319b353650c87cb5451c7ed7293cd92 (diff) | |
| download | nng-9683efb2adee597304151299e5f55e6ab693605a.tar.gz nng-9683efb2adee597304151299e5f55e6ab693605a.tar.bz2 nng-9683efb2adee597304151299e5f55e6ab693605a.zip | |
fixed compilation error on OpenBSD, missing sockpeercred (#659)
fixed compilation error on OpenBSD, missing sockpeercred
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9ac25aa7..adcd039d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -447,6 +447,7 @@ else () nng_check_sym (epoll_create1 sys/epoll.h NNG_HAVE_EPOLL_CREATE1) nng_check_sym (getpeereid unistd.h NNG_HAVE_GETPEEREID) nng_check_sym (SO_PEERCRED sys/socket.h NNG_HAVE_SOPEERCRED) + nng_check_struct_member (sockpeercred uid sys/socket.h NNG_HAVE_SOCKPEERCRED) nng_check_sym (LOCAL_PEERCRED sys/un.h NNG_HAVE_LOCALPEERCRED) nng_check_sym (getpeerucred ucred.h NNG_HAVE_GETPEERUCRED) nng_check_sym (atomic_flag_test_and_set stdatomic.h NNG_HAVE_STDATOMIC) |
