mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
g13: Include sys/sysmacros.h if available.
* configure.ac: Add test for sys/sysmacros.h. * g13/sh-dmcrypt.c: Include sys/sysmacros.h. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
00be2a9262
commit
c3cc9551dc
@ -1278,7 +1278,7 @@ AC_HEADER_STDC
|
||||
AC_CHECK_HEADERS([string.h unistd.h langinfo.h termio.h locale.h getopt.h \
|
||||
pty.h utmp.h pwd.h inttypes.h signal.h sys/select.h \
|
||||
stdint.h signal.h util.h libutil.h termios.h \
|
||||
ucred.h])
|
||||
ucred.h sys/sysmacros.h])
|
||||
|
||||
AC_HEADER_TIME
|
||||
|
||||
|
@ -25,6 +25,9 @@
|
||||
#include <errno.h>
|
||||
#include <assert.h>
|
||||
#include <sys/types.h>
|
||||
#ifdef HAVE_SYS_SYSMACROS_H
|
||||
# include <sys/sysmacros.h>
|
||||
#endif
|
||||
#ifdef HAVE_STAT
|
||||
# include <sys/stat.h>
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user