blob: 26df2d6b6aead8a9085a37dd73ca382270963bb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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
|