summaryrefslogtreecommitdiff
path: root/wcap
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 /wcap
parent4e55d067ea3aacf0174518ac29a11336fdc6b11c (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.
Diffstat (limited to 'wcap')
-rw-r--r--wcap/main.c2
-rw-r--r--wcap/wcap-decode.c2
2 files changed, 4 insertions, 0 deletions
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>