diff options
Diffstat (limited to 'meta/recipes-kernel/lttng/lttng-tools/0001-src-common-correct-header-location.patch')
-rw-r--r-- | meta/recipes-kernel/lttng/lttng-tools/0001-src-common-correct-header-location.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-tools/0001-src-common-correct-header-location.patch b/meta/recipes-kernel/lttng/lttng-tools/0001-src-common-correct-header-location.patch deleted file mode 100644 index 24fcce41cb..0000000000 --- a/meta/recipes-kernel/lttng/lttng-tools/0001-src-common-correct-header-location.patch +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | From 790ef313364d1f1efb6f283705bb324eea2979ba Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex@linutronix.de> | ||
3 | Date: Sun, 5 Sep 2021 10:13:08 +0200 | ||
4 | Subject: [PATCH] src/common: correct header location | ||
5 | |||
6 | sys/unistd.h is not guaranteed to exist, and does not with | ||
7 | e.g. musl C library. | ||
8 | |||
9 | Upstream-Status: Backport [http://git.lttng.org/?p=lttng-tools.git;a=commitdiff;h=8f14767d33f786d895e50633fb46b880249b6c54] | ||
10 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
11 | --- | ||
12 | src/common/kernel-probe.c | 2 +- | ||
13 | src/common/userspace-probe.c | 2 +- | ||
14 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
15 | |||
16 | diff --git a/src/common/kernel-probe.c b/src/common/kernel-probe.c | ||
17 | index 2beb53f..44100bc 100644 | ||
18 | --- a/src/common/kernel-probe.c | ||
19 | +++ b/src/common/kernel-probe.c | ||
20 | @@ -20,7 +20,7 @@ | ||
21 | #include <lttng/kernel-probe.h> | ||
22 | #include <sys/stat.h> | ||
23 | #include <sys/types.h> | ||
24 | -#include <sys/unistd.h> | ||
25 | +#include <unistd.h> | ||
26 | |||
27 | static | ||
28 | int lttng_kernel_probe_location_address_serialize( | ||
29 | diff --git a/src/common/userspace-probe.c b/src/common/userspace-probe.c | ||
30 | index 67b0ee6..66afc6f 100644 | ||
31 | --- a/src/common/userspace-probe.c | ||
32 | +++ b/src/common/userspace-probe.c | ||
33 | @@ -20,7 +20,7 @@ | ||
34 | #include <lttng/userspace-probe-internal.h> | ||
35 | #include <sys/stat.h> | ||
36 | #include <sys/types.h> | ||
37 | -#include <sys/unistd.h> | ||
38 | +#include <unistd.h> | ||
39 | |||
40 | static | ||
41 | int lttng_userspace_probe_location_function_set_binary_fd_handle( | ||