summaryrefslogtreecommitdiffstats
path: root/g13
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2017-04-20 13:43:29 +0200
committerNIIBE Yutaka <gniibe@fsij.org>2017-04-20 13:43:29 +0200
commit10519270d36586c536bfb6c4cda8ac17c01f4976 (patch)
tree50f184d099967af5a1001cc79ce0bc52917fb237 /g13
parentdirmngr: Fix final close of LISTEN_FD. (diff)
downloadgnupg2-10519270d36586c536bfb6c4cda8ac17c01f4976.tar.xz
gnupg2-10519270d36586c536bfb6c4cda8ac17c01f4976.zip
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>
Diffstat (limited to 'g13')
-rw-r--r--g13/sh-dmcrypt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/g13/sh-dmcrypt.c b/g13/sh-dmcrypt.c
index c5489c96f..09c4d967b 100644
--- a/g13/sh-dmcrypt.c
+++ b/g13/sh-dmcrypt.c
@@ -25,6 +25,9 @@
#include <errno.h>
#include <assert.h>
#include <sys/types.h>
+#ifdef HAVE_SYS_MKDEV_H
+#include <sys/mkdev.h>
+#endif
#ifdef HAVE_SYS_SYSMACROS_H
# include <sys/sysmacros.h>
#endif