Don't include signal.h unless we need it.

Change-Id: I3965e0951eee919720f780b5e52732fd18fd9786
Reviewed-on: https://code.wireshark.org/review/6194
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2014-12-31 14:53:29 -08:00
parent 91e4330394
commit 1bc2565bff
4 changed files with 2 additions and 5 deletions

1
file.c
View File

@ -33,7 +33,6 @@
#include <string.h>
#include <ctype.h>
#include <errno.h>
#include <signal.h>
#ifdef HAVE_FCNTL_H
#include <fcntl.h>

View File

@ -54,8 +54,6 @@
#include <fcntl.h>
#endif
#include <signal.h>
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif

View File

@ -43,8 +43,6 @@
#include <fcntl.h>
#endif
#include <signal.h>
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif

View File

@ -44,7 +44,9 @@
#include <fcntl.h>
#endif
#ifndef _WIN32
#include <signal.h>
#endif
#ifdef HAVE_SYS_STAT_H
# include <sys/stat.h>