From 1fb1c8f99439672122b9f0d0e503603e1d7718c2 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sun, 3 Jul 2022 20:48:54 +0300 Subject: [PATCH 61/61] 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 f2e162e473..ff5995d793 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 FREECIV_MSWINDOWS -#include /* GetTempPath */ +#include /* GetTempPath */ #endif /* utility */ -- 2.35.1