mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-30 17:25:09 +02:00
Add headers for sys/audit.h.
On some older platforms (at least sunos4, probably others) sys/audit.h requires some other headers. Patch from klausz at haus-gisela.de.
This commit is contained in:
parent
3fd2d2291a
commit
ce066f688d
16
configure.ac
16
configure.ac
@ -388,12 +388,12 @@ AC_CHECK_HEADERS([ \
|
|||||||
stdint.h \
|
stdint.h \
|
||||||
string.h \
|
string.h \
|
||||||
strings.h \
|
strings.h \
|
||||||
sys/audit.h \
|
|
||||||
sys/bitypes.h \
|
sys/bitypes.h \
|
||||||
sys/bsdtty.h \
|
sys/bsdtty.h \
|
||||||
sys/cdefs.h \
|
sys/cdefs.h \
|
||||||
sys/dir.h \
|
sys/dir.h \
|
||||||
sys/mman.h \
|
sys/mman.h \
|
||||||
|
sys/label.h \
|
||||||
sys/ndir.h \
|
sys/ndir.h \
|
||||||
sys/poll.h \
|
sys/poll.h \
|
||||||
sys/prctl.h \
|
sys/prctl.h \
|
||||||
@ -422,6 +422,20 @@ AC_CHECK_HEADERS([ \
|
|||||||
wchar.h \
|
wchar.h \
|
||||||
])
|
])
|
||||||
|
|
||||||
|
# On some platforms (eg SunOS4) sys/audit.h requires sys/[time|types|label.h]
|
||||||
|
# to be included first.
|
||||||
|
AC_CHECK_HEADERS([sys/audit.h], [], [], [
|
||||||
|
#ifdef HAVE_SYS_TIME_H
|
||||||
|
# include <sys/time.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
|
# include <sys/types.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_SYS_LABEL_H
|
||||||
|
# include <sys/label.h>
|
||||||
|
#endif
|
||||||
|
])
|
||||||
|
|
||||||
# sys/capsicum.h requires sys/types.h
|
# sys/capsicum.h requires sys/types.h
|
||||||
AC_CHECK_HEADERS([sys/capsicum.h], [], [], [
|
AC_CHECK_HEADERS([sys/capsicum.h], [], [], [
|
||||||
#ifdef HAVE_SYS_TYPES_H
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user