summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/procmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/procmap.c b/examples/procmap.c
index e451eeb2..b32555bd 100644
--- a/examples/procmap.c
+++ b/examples/procmap.c
@@ -39,6 +39,8 @@
#include <sys/resource.h>
#include <sys/mman.h>
+#include <fcntl.h>
+
#ifndef PROFILE_COUNT
#define PROFILE_COUNT 1
#endif