You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-full-overlay/sys-apps/xinetd/files/xinetd-2.3.15.4-0002-redire...

25 lines
690 B

https://github.com/openSUSE/xinetd/pull/42
From 953a37c570a42743358cfc64e00e990813db1e09 Mon Sep 17 00:00:00 2001
From: Sam James <sam@gentoo.org>
Date: Sat, 10 Sep 2022 14:01:00 +0100
Subject: [PATCH 2/2] redirect: drop deprecated <sys/signal.h> include
Fix warning when building on musl:
```
In file included from src/redirect.c:23:
/usr/include/sys/signal.h:1:2: warning: redirecting incorrect #include <sys/signal.h> to <signal.h> [-W#warnings]
```
We already include <signal.h>.
--- a/src/redirect.c
+++ b/src/redirect.c
@@ -20,7 +20,6 @@
#include <unistd.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
-#include <sys/signal.h>
#include "redirect.h"
#include "service.h"