[lttng-tools] Fix: Remove unused headers
Commit Message
This is a portability fix, these headers are unused and not available on
some platforms.
Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
---
src/bin/lttng-relayd/health-relayd.c | 1 -
src/common/futex.c | 1 -
2 files changed, 2 deletions(-)
Comments
Merged in master and stable-2.9.
Thanks,
Jérémie
On 26 January 2017 at 14:55, Michael Jeanson <mjeanson at efficios.com> wrote:
> This is a portability fix, these headers are unused and not available on
> some platforms.
>
> Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
> ---
> src/bin/lttng-relayd/health-relayd.c | 1 -
> src/common/futex.c | 1 -
> 2 files changed, 2 deletions(-)
>
> diff --git a/src/bin/lttng-relayd/health-relayd.c b/src/bin/lttng-relayd/health-relayd.c
> index cff6c6e..b14b827 100644
> --- a/src/bin/lttng-relayd/health-relayd.c
> +++ b/src/bin/lttng-relayd/health-relayd.c
> @@ -37,7 +37,6 @@
> #include <sys/mman.h>
> #include <assert.h>
> #include <urcu/compiler.h>
> -#include <ulimit.h>
> #include <inttypes.h>
>
> #include <common/defaults.h>
> diff --git a/src/common/futex.c b/src/common/futex.c
> index 2ae03b2..384e957 100644
> --- a/src/common/futex.c
> +++ b/src/common/futex.c
> @@ -18,7 +18,6 @@
>
> #define _LGPL_SOURCE
> #include <limits.h>
> -#include <sys/syscall.h>
> #include <unistd.h>
> #include <urcu.h>
> #include <urcu/futex.h>
> --
> 2.7.4
>
@@ -37,7 +37,6 @@
#include <sys/mman.h>
#include <assert.h>
#include <urcu/compiler.h>
-#include <ulimit.h>
#include <inttypes.h>
#include <common/defaults.h>
@@ -18,7 +18,6 @@
#define _LGPL_SOURCE
#include <limits.h>
-#include <sys/syscall.h>
#include <unistd.h>
#include <urcu.h>
#include <urcu/futex.h>