[libgtop] Fixed build problem with procmap example
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgtop] Fixed build problem with procmap example
- Date: Fri, 26 Jun 2015 00:11:03 +0000 (UTC)
commit 421419fdbfeb7340f00389d114ab6ae4227d89d9
Author: Robert Roth <robert roth off gmail com>
Date: Fri Jun 26 03:10:51 2015 +0300
Fixed build problem with procmap example
examples/procmap.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/examples/procmap.c b/examples/procmap.c
index e451eeb..b32555b 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]