diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-01-09 15:49:29 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-01-09 15:49:29 +0000 |
commit | 288304789907e4d8bbb5b71dc627c2a5aad2f935 (patch) | |
tree | f5e36ea28c70f7fdf7d09932042be97f13341436 /CMakeLists.txt | |
parent | 49b2e92d1add1b3746cc71124c1939b6a3288f94 (diff) | |
download | rspamd-288304789907e4d8bbb5b71dc627c2a5aad2f935.tar.gz rspamd-288304789907e4d8bbb5b71dc627c2a5aad2f935.zip |
Fix simultaneous bind to ipv6 and ipv6 sockets.
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 b3038ba5c..fd2446acf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -790,6 +790,7 @@ CHECK_SYMBOL_EXISTS(MAP_SHARED sys/mman.h HAVE_MMAP_SHARED) CHECK_SYMBOL_EXISTS(MAP_ANON sys/mman.h HAVE_MMAP_ANON) CHECK_SYMBOL_EXISTS(MAP_NOCORE sys/mman.h HAVE_MMAP_NOCORE) CHECK_SYMBOL_EXISTS(O_DIRECT fcntl.h HAVE_O_DIRECT) +CHECK_SYMBOL_EXISTS(IPV6_V6ONLY "sys/socket.h;netinet/in.h" HAVE_IPV6_V6ONLY) CHECK_SYMBOL_EXISTS(posix_fadvise fcntl.h HAVE_FADVISE) CHECK_SYMBOL_EXISTS(posix_fallocate fcntl.h HAVE_POSIX_FALLOCATE) CHECK_SYMBOL_EXISTS(fallocate fcntl.h HAVE_FALLOCATE) |