summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRobert Roth <robert.roth.off@gmail.com>2015-06-26 03:10:51 +0300
committerRobert Roth <robert.roth.off@gmail.com>2015-06-26 03:10:51 +0300
commit421419fdbfeb7340f00389d114ab6ae4227d89d9 (patch)
tree49a5c37c38c01c29c552aed0b85e46e9cdbab0c8 /examples
parentebb7f9d5e23a6ffa79eb6f337020fa452ad110bf (diff)
downloadlibgtop-421419fdbfeb7340f00389d114ab6ae4227d89d9.tar.gz
Fixed build problem with procmap example
Diffstat (limited to 'examples')
-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