Skip to content

Commit

Permalink
serve.c: remove unecessary <*signal.h> include
Browse files Browse the repository at this point in the history
The relevant code has been factored out into util.c.
  • Loading branch information
doughdemon authored and TafThorne committed Aug 9, 2017
1 parent 3f66650 commit 5d172ee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -254,7 +254,7 @@ AC_C_BIGENDIAN


# Some of these are needed by popt (or other libraries included in the future). # 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([ctype.h sys/resource.h sys/socket.h sys/select.h])
AC_CHECK_HEADERS([netinet/in.h], [], [], AC_CHECK_HEADERS([netinet/in.h], [], [],
[#if HAVE_SYS_TYPES_H [#if HAVE_SYS_TYPES_H
Expand Down
4 changes: 0 additions & 4 deletions src/serve.c
Expand Up @@ -61,15 +61,11 @@
#include <string.h> #include <string.h>
#include <fcntl.h> #include <fcntl.h>
#include <errno.h> #include <errno.h>
#include <signal.h>
#include <time.h> #include <time.h>


#include <sys/stat.h> #include <sys/stat.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/wait.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/param.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/time.h> #include <sys/time.h>
Expand Down

0 comments on commit 5d172ee

Please sign in to comment.