diff options
Diffstat (limited to 'tests/server/sws.c')
-rw-r--r-- | tests/server/sws.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/server/sws.c b/tests/server/sws.c index dee1b9db6..99f188017 100644 --- a/tests/server/sws.c +++ b/tests/server/sws.c @@ -183,11 +183,8 @@ static const char *doc404 = "HTTP/1.1 404 Not Found\r\n" "The requested URL was not found on this server.\n" "<P><HR><ADDRESS>" SWSVERSION "</ADDRESS>\n" "</BODY></HTML>\n"; -#ifdef SIGPIPE +#if defined(SIGPIPE) && defined(HAVE_SIGNAL) static volatile int sigpipe; /* Why? It's not used */ -#endif - -#ifdef SIGPIPE static void sigpipe_handler(int sig) { (void)sig; /* prevent warning */ |