Fix: use <unistd.h> instead of <sys/unistd.h>
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Tue, 2 Nov 2021 13:33:02 +0000 (09:33 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 17 Dec 2021 00:04:12 +0000 (19:04 -0500)
Fixes: #1330
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I07cabde5a0295de06f7c6f42dd12de803b57c907

src/common/kernel-probe.c
src/common/userspace-probe.c

index 2beb53fabd94e4c361bf170b21611659b7d81dd9..44100bc725571aa27df3d0bad4c71b71e410731f 100644 (file)
@@ -20,7 +20,7 @@
 #include <lttng/kernel-probe.h>
 #include <sys/stat.h>
 #include <sys/types.h>
-#include <sys/unistd.h>
+#include <unistd.h>
 
 static
 int lttng_kernel_probe_location_address_serialize(
index 1c46f7c489e19a7f3595e4f2a05a1e5ad54c0f57..c96d0e3b2d186fff22f216c4f745bc2f68bac795 100644 (file)
@@ -20,7 +20,7 @@
 #include <lttng/userspace-probe-internal.h>
 #include <sys/stat.h>
 #include <sys/types.h>
-#include <sys/unistd.h>
+#include <unistd.h>
 
 static
 int lttng_userspace_probe_location_function_set_binary_fd_handle(
This page took 0.034719 seconds and 4 git commands to generate.