From ccdf9441a59bdb8ed8821ce215c1511a5e5a3af3 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Tue, 17 Jan 2023 03:22:26 +0200 Subject: [PATCH 6/6] Prefer signal.h over sys/signal.h See osdn #44997 Signed-off-by: Marko Lindqvist --- utility/netintf.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/utility/netintf.c b/utility/netintf.c index a011e983ab..58d35d251d 100644 --- a/utility/netintf.c +++ b/utility/netintf.c @@ -38,15 +38,17 @@ #endif #ifdef HAVE_NETDB_H #include -#endif +#endif #ifdef HAVE_SYS_IOCTL_H #include #endif -#ifdef HAVE_SYS_SIGNAL_H +#ifdef HAVE_SIGNAL_H +#include +#elif defined(HAVE_SYS_SIGNAL_H) #include #endif #ifdef WIN32_NATIVE -#include /* GetTempPath */ +#include /* GetTempPath */ #endif /* utility */ -- 2.39.0