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.
diff --git a/clients/simple-shm.c b/clients/simple-shm.c
index 1bcf8b0..81bb54e 100644
--- a/clients/simple-shm.c
+++ b/clients/simple-shm.c
@@ -21,6 +21,8 @@
* OF THIS SOFTWARE.
*/
+#include <config.h>
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/clients/simple-touch.c b/clients/simple-touch.c
index 26a9d24..69e460c 100644
--- a/clients/simple-touch.c
+++ b/clients/simple-touch.c
@@ -21,6 +21,8 @@
* OF THIS SOFTWARE.
*/
+#include <config.h>
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/clients/weston-simple-im.c b/clients/weston-simple-im.c
index 56e30a7..ded6a04 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 <config.h>
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/src/xwayland/hash.c b/src/xwayland/hash.c
index d841883..54f3de9 100644
--- a/src/xwayland/hash.c
+++ b/src/xwayland/hash.c
@@ -32,6 +32,8 @@
* Keith Packard <keithp@keithp.com>
*/
+#include <config.h>
+
#include <stdlib.h>
#include <stdint.h>
diff --git a/tests/weston-test-client-helper.c b/tests/weston-test-client-helper.c
index 264dc0d..0350da5 100644
--- a/tests/weston-test-client-helper.c
+++ b/tests/weston-test-client-helper.c
@@ -20,6 +20,8 @@
* OF THIS SOFTWARE.
*/
+#include <config.h>
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/wcap/main.c b/wcap/main.c
index 1b14ce0..1e4605a 100644
--- a/wcap/main.c
+++ b/wcap/main.c
@@ -20,6 +20,8 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include <config.h>
+
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
diff --git a/wcap/wcap-decode.c b/wcap/wcap-decode.c
index 2b9304d..87d9337 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 <config.h>
+
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>