summaryrefslogtreecommitdiffstats
path: root/runtime/staprun/staprun.h
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-09-18 18:21:30 -0400
committerDave Brolley <brolley@redhat.com>2009-09-18 18:21:30 -0400
commit0d50e4d06218f7a08aad4c8d3d348b2a81344e95 (patch)
tree33116716bb8a8718175e64d4a43122944a8e3e13 /runtime/staprun/staprun.h
parenta6a2869a0f4f784bab36410722f6161eab0f4503 (diff)
parent825ae5b246c81fae746c93324a05d207103529a9 (diff)
downloadsystemtap-steved-0d50e4d06218f7a08aad4c8d3d348b2a81344e95.tar.gz
systemtap-steved-0d50e4d06218f7a08aad4c8d3d348b2a81344e95.tar.xz
systemtap-steved-0d50e4d06218f7a08aad4c8d3d348b2a81344e95.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'runtime/staprun/staprun.h')
-rw-r--r--runtime/staprun/staprun.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/runtime/staprun/staprun.h b/runtime/staprun/staprun.h
index 1dcfabbe..f9f01003 100644
--- a/runtime/staprun/staprun.h
+++ b/runtime/staprun/staprun.h
@@ -186,3 +186,13 @@ extern int out_fd[NR_CPUS];
/* relay_old uses these. Set in ctl.c */
extern unsigned subbuf_size;
extern unsigned n_subbufs;
+
+/*
+ * ppoll exists in glibc >= 2.4
+ */
+#if (__GLIBC__ < 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ < 4))
+#define NEED_PPOLL
+
+extern int ppoll(struct pollfd *fds, nfds_t nfds,
+ const struct timespec *timeout, const sigset_t *sigmask);
+#endif