summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2013-03-03 09:50:44 +0100
committerStef Walter <stefw@gnome.org>2013-03-03 10:07:08 +0100
commitae76545a0094114ef29dba52df97e69ab28b3dbc (patch)
tree8052e7262deeba9962c31a13ec3f041507464678 /tools
parent38acf11889c1e1da2610c8e05f1f380f2a2a1ae6 (diff)
Abstract mmap() into a compat API
The Win32 for mmap() is very different from Unix, so abstract this into our own p11_mmap_xxx() functions.
Diffstat (limited to 'tools')
-rw-r--r--tools/tests/test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/tests/test.c b/tools/tests/test.c
index ecc0410..c445099 100644
--- a/tools/tests/test.c
+++ b/tools/tests/test.c
@@ -38,6 +38,8 @@
#include "debug.h"
#include "test.h"
+#include <sys/stat.h>
+
#include <assert.h>
#include <dirent.h>
#include <fcntl.h>