Permalink
Browse files

serve.c: remove unecessary <*signal.h> include

The relevant code has been factored out into util.c.
  • Loading branch information...
doughdemon authored and TafThorne committed Apr 14, 2017
1 parent 3f66650 commit 5d172eebcec14e96b4f613505778e37a4bedacc8
Showing with 1 addition and 5 deletions.
  1. +1 −1 configure.ac
  2. +0 −4 src/serve.c
View
@@ -254,7 +254,7 @@ AC_C_BIGENDIAN
# Some of these are needed by popt (or other libraries included in the future).
AC_CHECK_HEADERS([unistd.h sys/types.h sys/sendfile.h sys/signal.h])
AC_CHECK_HEADERS([unistd.h sys/types.h sys/sendfile.h])
AC_CHECK_HEADERS([ctype.h sys/resource.h sys/socket.h sys/select.h])
AC_CHECK_HEADERS([netinet/in.h], [], [],
[#if HAVE_SYS_TYPES_H
View
@@ -61,15 +61,11 @@
#include <string.h>
#include <fcntl.h>
#include <errno.h>
#include <signal.h>
#include <time.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/wait.h>
#ifdef HAVE_SYS_SIGNAL_H
# include <sys/signal.h>
#endif /* HAVE_SYS_SIGNAL_H */
#include <sys/param.h>
#include <sys/socket.h>
#include <sys/time.h>

0 comments on commit 5d172ee

Please sign in to comment.