aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/opensaf/opensaf/0001-immpbe_dump.cc-Use-sys-wait.h-instead-of-wait.h.patch
blob: 99fab3b034c9b96f5c103eac66c615ece58eeeb1 (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
From c21f77d592415f316138c05f581192a1f061e735 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Fri, 15 Sep 2017 10:09:03 -0700
Subject: [PATCH] immpbe_dump.cc: Use sys/wait.h instead of wait.h

Fixes
redirecting incorrect #include <wait.h> to <sys/wait.h>

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
Upstream-Status: Pending

 src/imm/common/immpbe_dump.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/imm/common/immpbe_dump.cc b/src/imm/common/immpbe_dump.cc
index e6b3cc5..3956028 100644
--- a/src/imm/common/immpbe_dump.cc
+++ b/src/imm/common/immpbe_dump.cc
@@ -26,12 +26,12 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <time.h>
-#include <wait.h>
 #include <unistd.h>
 #include <iostream>
 #include <sstream>
 #include <stdint.h>
 #include <sys/stat.h>
+#include <sys/wait.h>
 #include <libgen.h>
 #include <set>
 #include <vector>