diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-02-09 14:48:43 +0400 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2022-07-15 16:26:18 +0100 |
commit | 2137f511db6c71319c78d6b980ab2fc0cff6da58 (patch) | |
tree | 5edebeb9717c6ad4a7ae54f1ce549d01fc9d64e0 /cmake | |
parent | 519dd8726e7ff0b30ee9bffb87cd9fb04792ff16 (diff) | |
download | dbus-2137f511db6c71319c78d6b980ab2fc0cff6da58.tar.gz |
build-sys: check for afunix.h
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/ConfigureChecks.cmake | 1 | ||||
-rw-r--r-- | cmake/config.h.cmake | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/cmake/ConfigureChecks.cmake b/cmake/ConfigureChecks.cmake index 01c80437..17b2e201 100644 --- a/cmake/ConfigureChecks.cmake +++ b/cmake/ConfigureChecks.cmake @@ -6,6 +6,7 @@ include(CheckTypeSize) include(CheckCSourceCompiles) include(CheckCSourceRuns) +check_include_files("winsock2.h;afunix.h" HAVE_AFUNIX_H) check_include_file(alloca.h HAVE_ALLOCA_H) check_include_file(byteswap.h HAVE_BYTESWAP_H) check_include_file(crt/externs.h HAVE_CRT_EXTERNS_H) diff --git a/cmake/config.h.cmake b/cmake/config.h.cmake index 75509524..b70f8390 100644 --- a/cmake/config.h.cmake +++ b/cmake/config.h.cmake @@ -94,6 +94,7 @@ #cmakedefine GLIB_VERSION_MAX_ALLOWED @GLIB_VERSION_MAX_ALLOWED@ // headers +#cmakedefine HAVE_AFUNIX_H 1 #cmakedefine HAVE_ALLOCA_H 1 #cmakedefine HAVE_BYTESWAP_H 1 #cmakedefine HAVE_CRT_EXTERNS_H 1 |