This patch fixes a compile error, that I got recently, probably due to
a glibc update.

pfmon_task.c: In function tgkill:
pfmon_task.c:1726: error: __NR_tgkill undeclared (first use in this function)
pfmon_task.c:1726: error: (Each undeclared identifier is reported only once
pfmon_task.c:1726: error: for each function it appears in.)
make[1]: *** [pfmon_task.o] Error 1

Signed-off-by: Robert Richter <[EMAIL PROTECTED]>
---
 pfmon/pfmon_task.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/pfmon/pfmon_task.c b/pfmon/pfmon_task.c
index 6d12a37..0f15cbc 100644
--- a/pfmon/pfmon_task.c
+++ b/pfmon/pfmon_task.c
@@ -24,6 +24,7 @@
 
 #include <fcntl.h>
 #include <regex.h>
+#include <syscall.h>
 #include <sys/wait.h>
 #include <sys/time.h>
 #include <sys/poll.h>
-- 
1.5.3.7



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
perfmon2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to