summaryrefslogtreecommitdiff
path: root/clients/simple-shm.c
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 14:59:14 -0700
commitc7d2c4c14727780a1d38644ebde3e22f65c64649 (patch)
tree0457917ee8b54823302abefb3780b19f2896e0f6 /clients/simple-shm.c
parent4e55d067ea3aacf0174518ac29a11336fdc6b11c (diff)
downloadweston-c7d2c4c14727780a1d38644ebde3e22f65c64649.tar.gz
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.
Diffstat (limited to 'clients/simple-shm.c')
-rw-r--r--clients/simple-shm.c2
1 files changed, 2 insertions, 0 deletions
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 <config.h>
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>