[Spice-commits] configure.ac meson.build
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu May 2 09:35:19 UTC 2019
configure.ac | 2 +-
meson.build | 10 ++++++++--
2 files changed, 9 insertions(+), 3 deletions(-)
New commits:
commit 083f2a342c398992929b796ff3c48c6e43188a55
Author: Frediano Ziglio <fziglio at redhat.com>
Date: Wed May 1 08:46:25 2019 +0100
build: Add some missing check for headers
Headers macros (HAVE_*_H) are guarding some include in the code.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Victor Toso <victortoso at redhat.com>
diff --git a/configure.ac b/configure.ac
index 0666e2a..6159169 100644
--- a/configure.ac
+++ b/configure.ac
@@ -71,7 +71,7 @@ esac
AC_MSG_RESULT([$os_mac])
AM_CONDITIONAL([OS_MAC],[test "$os_mac" = "yes"])
-AC_CHECK_HEADERS([sys/socket.h netinet/in.h arpa/inet.h])
+AC_CHECK_HEADERS([sys/socket.h sys/types.h netinet/in.h arpa/inet.h])
AC_CHECK_HEADERS([termios.h])
AC_CHECK_HEADERS([epoxy/egl.h],
[have_egl=yes],
diff --git a/meson.build b/meson.build
index e0fba93..8c6288f 100644
--- a/meson.build
+++ b/meson.build
@@ -48,8 +48,14 @@ keymapcsv = files('subprojects/keycodemapdb/data/keymaps.csv')
#
# check for system headers
#
-headers = ['termios.h',
- 'X11/XKBlib.h']
+headers = [
+ 'termios.h',
+ 'X11/XKBlib.h',
+ 'sys/socket.h',
+ 'sys/types.h',
+ 'netinet/in.h',
+ 'arpa/inet.h',
+]
foreach header : headers
if compiler.has_header(header)
More information about the Spice-commits
mailing list