aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lttng-tools/0009-Fix-location-of-various-standard-header-includes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/lttng-tools/0009-Fix-location-of-various-standard-header-includes.patch')
-rw-r--r--testing/lttng-tools/0009-Fix-location-of-various-standard-header-includes.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/lttng-tools/0009-Fix-location-of-various-standard-header-includes.patch b/testing/lttng-tools/0009-Fix-location-of-various-standard-header-includes.patch
new file mode 100644
index 0000000000..26df2d6b6a
--- /dev/null
+++ b/testing/lttng-tools/0009-Fix-location-of-various-standard-header-includes.patch
@@ -0,0 +1,41 @@
+From 080bcd6236b63e7cf354612a8687e72c70ef6c9f Mon Sep 17 00:00:00 2001
+From: Michael Jeanson <mjeanson@efficios.com>
+Date: Wed, 15 Jun 2016 10:05:39 -0500
+Subject: [PATCH lttng-tools 2/3] Fix: location of various standard header
+ includes
+
+Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
+---
+ src/common/daemonize.c | 2 +-
+ src/common/runas.c | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/common/daemonize.c b/src/common/daemonize.c
+index 300851b..b12194e 100644
+--- a/src/common/daemonize.c
++++ b/src/common/daemonize.c
+@@ -20,7 +20,7 @@
+ #include <unistd.h>
+ #include <common/compat/paths.h>
+ #include <fcntl.h>
+-#include <wait.h>
++#include <sys/wait.h>
+ #include <stdlib.h>
+
+ #include <urcu/system.h>
+diff --git a/src/common/runas.c b/src/common/runas.c
+index 2a71f58..7a6be28 100644
+--- a/src/common/runas.c
++++ b/src/common/runas.c
+@@ -28,7 +28,7 @@
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <sched.h>
+-#include <sys/signal.h>
++#include <signal.h>
+ #include <assert.h>
+ #include <signal.h>
+
+--
+2.7.4
+