From a461a98baecb4b2bee4fdf198d2602da8b4baec0 Mon Sep 17 00:00:00 2001 From: Olaf Meeuwissen Date: Sat, 15 Jul 2017 22:48:29 +0900 Subject: [PATCH] plustek-pp: Replace sys/signal.h include with signal.h All other backends already `#include ` directly, without any configure time checking or problems. Fixes [-Wcc] compiler warning on Alpine. --- backend/plustek-pp_scan.h | 6 +----- configure.ac | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/backend/plustek-pp_scan.h b/backend/plustek-pp_scan.h index 5a8f9d723..1764c7957 100644 --- a/backend/plustek-pp_scan.h +++ b/backend/plustek-pp_scan.h @@ -73,11 +73,7 @@ # include # include # include -# ifdef HAVE_SYS_SIGNAL_H -# include -# else -# include -# endif +# include # include # ifdef HAVE_SYS_IO_H # include diff --git a/configure.ac b/configure.ac index d84819661..119d2dbe8 100644 --- a/configure.ac +++ b/configure.ac @@ -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\