plustek-pp: Replace sys/signal.h include with signal.h

All other backends already `#include <signal.h>` directly, without any
configure time checking or problems.

Fixes [-Wcc] compiler warning on Alpine.
This commit is contained in:
Olaf Meeuwissen
2017-07-15 22:48:29 +09:00
parent 6a908d1ff1
commit a461a98bae
2 changed files with 2 additions and 6 deletions
+1 -5
View File
@@ -73,11 +73,7 @@
# include <stdio.h>
# include <unistd.h>
# include <sys/time.h>
# ifdef HAVE_SYS_SIGNAL_H
# include <sys/signal.h>
# else
# include <signal.h>
# endif
# include <signal.h>
# include <sys/ioctl.h>
# ifdef HAVE_SYS_IO_H
# include <sys/io.h>
+1 -1
View File
@@ -192,7 +192,7 @@ dnl Checks for header files.
dnl ***********************************************************************
AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h unistd.h libc.h sys/dsreq.h sys/select.h \
sys/time.h sys/shm.h sys/ipc.h sys/signal.h sys/scanio.h os2.h \
sys/time.h sys/shm.h sys/ipc.h sys/scanio.h os2.h \
sys/socket.h sys/io.h sys/hw.h sys/types.h linux/ppdev.h \
dev/ppbus/ppi.h machine/cpufunc.h sys/sem.h sys/poll.h \
windows.h be/kernel/OS.h limits.h sys/ioctl.h asm/types.h\