[lttng-dev] [PATCH lttng-tools 5/6] Fix: location of various standard headers

Michael Jeanson mjeanson at efficios.com
Wed Jun 15 21:18:06 UTC 2016


Signed-off-by: Michael Jeanson <mjeanson at 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



More information about the lttng-dev mailing list