summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2013-08-26 14:43:17 -0700
committerKristian Høgsberg <krh@bitplanet.net>2013-08-26 15:33:47 -0700
commitdfe4acb4e2d71731deec3c4f2fb77c92b3afbfa8 (patch)
tree258a83839b9b8dba6a810ef8a2910b4ab3e3e88a
parent2471fac4d99b93b4557fa8fa1a417c37aba97f4a (diff)
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.
-rw-r--r--clients/simple-shm.c2
-rw-r--r--clients/simple-touch.c2
-rw-r--r--clients/weston-simple-im.c2
-rw-r--r--src/xwayland/hash.c2
-rw-r--r--tests/weston-test-client-helper.c2
-rw-r--r--wcap/main.c2
-rw-r--r--wcap/wcap-decode.c2
7 files changed, 14 insertions, 0 deletions
diff --git a/clients/simple-shm.c b/clients/simple-shm.c
index 98102ebf..05574432 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 9e4c60ab..865b18d9 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 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 <config.h>
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
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 <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 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 <config.h>
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
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 <config.h>
+
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
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 <config.h>
+
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>