mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-27 09:21:41 +02:00
42 lines
1.0 KiB
Diff
42 lines
1.0 KiB
Diff
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
|
|
|