From c7d2c4c14727780a1d38644ebde3e22f65c64649 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Mon, 26 Aug 2013 14:43:17 -0700 Subject: [PATCH] Add more missing config.h #includes Now that we use AC_SYS_LARGEFILE, we need to pull in config.h at least whereever we use mmap(). Fixes at least the test-suite and simple-shm on 32 bit systems. --- clients/simple-shm.c | 2 ++ clients/simple-touch.c | 2 ++ clients/weston-simple-im.c | 2 ++ src/xwayland/hash.c | 2 ++ tests/weston-test-client-helper.c | 2 ++ wcap/main.c | 2 ++ wcap/wcap-decode.c | 2 ++ 7 files changed, 14 insertions(+) diff --git a/clients/simple-shm.c b/clients/simple-shm.c index 1bcf8b08..81bb54ea 100644 --- a/clients/simple-shm.c +++ b/clients/simple-shm.c @@ -21,6 +21,8 @@ * OF THIS SOFTWARE. */ +#include + #include #include #include diff --git a/clients/simple-touch.c b/clients/simple-touch.c index 26a9d240..69e460c7 100644 --- a/clients/simple-touch.c +++ b/clients/simple-touch.c @@ -21,6 +21,8 @@ * OF THIS SOFTWARE. */ +#include + #include #include #include diff --git a/clients/weston-simple-im.c b/clients/weston-simple-im.c index 56e30a71..ded6a04d 100644 --- a/clients/weston-simple-im.c +++ b/clients/weston-simple-im.c @@ -20,6 +20,8 @@ * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include + #include #include #include diff --git a/src/xwayland/hash.c b/src/xwayland/hash.c index d8418832..54f3de93 100644 --- a/src/xwayland/hash.c +++ b/src/xwayland/hash.c @@ -32,6 +32,8 @@ * Keith Packard */ +#include + #include #include diff --git a/tests/weston-test-client-helper.c b/tests/weston-test-client-helper.c index 264dc0d5..0350da5d 100644 --- a/tests/weston-test-client-helper.c +++ b/tests/weston-test-client-helper.c @@ -20,6 +20,8 @@ * OF THIS SOFTWARE. */ +#include + #include #include #include diff --git a/wcap/main.c b/wcap/main.c index 1b14ce06..1e4605ae 100644 --- a/wcap/main.c +++ b/wcap/main.c @@ -20,6 +20,8 @@ * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include + #include #include #include diff --git a/wcap/wcap-decode.c b/wcap/wcap-decode.c index 2b9304dd..87d93379 100644 --- a/wcap/wcap-decode.c +++ b/wcap/wcap-decode.c @@ -20,6 +20,8 @@ * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include + #include #include #include