mirror of
https://github.com/openharmony/third_party_backends.git
synced 2026-07-18 17:34:30 -04:00
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:
@@ -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
@@ -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\
|
||||
|
||||
Reference in New Issue
Block a user