[rtems commit] kill: Fix warning

Sebastian Huber sebh at rtems.org
Tue Nov 12 08:35:47 UTC 2019


Module:    rtems
Branch:    master
Commit:    5630008257701344a1a5dc55efc89484ac302097
Changeset: http://git.rtems.org/rtems/commit/?id=5630008257701344a1a5dc55efc89484ac302097

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Nov  4 09:24:54 2019 +0100

kill: Fix warning

Include right header file for kill().

---

 cpukit/libcsupport/src/kill_noposix.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/libcsupport/src/kill_noposix.c b/cpukit/libcsupport/src/kill_noposix.c
index 3cb807c..a1f138a 100644
--- a/cpukit/libcsupport/src/kill_noposix.c
+++ b/cpukit/libcsupport/src/kill_noposix.c
@@ -24,7 +24,7 @@
 
 #include <rtems.h>
 
-#include <unistd.h>
+#include <signal.h>
 
 /*
  *  These are directly supported (and completely correct) in the posix api.



More information about the vc mailing list