aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt1
-rw-r--r--config.h.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 72b3e05de..cfaa632da 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -818,6 +818,7 @@ CHECK_SYMBOL_EXISTS(getaddrinfo "sys/types.h;sys/socket.h;netdb.h" HAVE_GETADDRI
CHECK_SYMBOL_EXISTS(sched_yield "sched.h" HAVE_SCHED_YIELD)
CHECK_SYMBOL_EXISTS(__get_cpuid "cpuid.h" HAVE_GET_CPUID)
CHECK_SYMBOL_EXISTS(PCRE_CONFIG_JIT "pcre.h" HAVE_PCRE_JIT)
+CHECK_SYMBOL_EXISTS(SOCK_SEQPACKET "sys/types.h;sys/socket.h" HAVE_SOCK_SEQPACKET)
# Some PCRE implementations are lacking of pcre_jit_exec fast path
SET(_PCRE_FAST_TEST "
diff --git a/config.h.in b/config.h.in
index 693a9380e..472c6bced 100644
--- a/config.h.in
+++ b/config.h.in
@@ -231,6 +231,7 @@
#cmakedefine HAVE_GET_CPUID 1
#cmakedefine HAVE_CPUID_H 1
#cmakedefine HAVE_DIRENT_H 1
+#cmakedefine HAVE_SOCK_SEQPACKET 1
/* Configure allocator */
#define uthash_malloc(sz) g_slice_alloc(sz)