[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipsec-tools-devel
Subject:    [Ipsec-tools-devel] [PATCH v3 5/5] Fix redirection of <sys/signal.h>
From:       Jörg Krause <joerg.krause () embedded ! rocks>
Date:       2016-05-08 10:47:02
Message-ID: 1462704422.2083.10.camel () embedded ! rocks
[Download RAW message or body]

Fix redirection of <sys/signal.h>

The correct including path is <signal.h> instead of <sys/signal.h> [1].

glibc redirects silently to the correct path, whereas the musl C
library prints
a warning.

[1] http://pubs.opengroup.org/onlinepubs/009695399/basedefs/signal.h.ht
ml

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>

diff -purN ipsec-tools-0.8.2-4/src/racoon/admin.c ipsec-tools-0.8.2-
5/src/racoon/admin.c
--- ipsec-tools-0.8.2-4/src/racoon/admin.c	2016-05-08
12:11:01.031777214 +0200
+++ ipsec-tools-0.8.2-5/src/racoon/admin.c	2016-05-08
12:13:14.810995484 +0200
@@ -36,7 +36,7 @@
 #include <sys/types.h>
 #include <sys/param.h>
 #include <sys/socket.h>
-#include <sys/signal.h>
+#include <signal.h>
 #include <sys/stat.h>
 #include <sys/un.h>
 


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Ipsec-tools-devel mailing list
Ipsec-tools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipsec-tools-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic