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>
Tue, 2 Nov 2021 16:44:01 +0000 (12:44 -0400)
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 42f42f641010b185b13fc0622b5a811b04b460de..33ba00fca37a9a906cc45b59fed628ae74e7163b 100644 (file)
@@ -19,7 +19,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 f5ed86367066b3504dadab91d04810c4d69e441b..084fec5c4146aa79d7bf17ed416ab38913a646b8 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.026356 seconds and 4 git commands to generate.