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