diff mbox

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

Message ID 1466025487-26743-5-git-send-email-mjeanson@efficios.com
State Accepted, archived
Headers show

Commit Message

Michael Jeanson June 15, 2016, 9:18 p.m. UTC
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 mbox

Patch

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>