summaryrefslogtreecommitdiff
path: root/security/gnupg21/patches/patch-g13_sh-dmcrypt.c
blob: a2c726572e8f7b67f09862d0c3bca4ccdb440b9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-g13_sh-dmcrypt.c,v 1.2 2017/04/20 09:55:28 wiz Exp $

Fix linking on Solaris.
https://dev.gnupg.org/T3098

--- g13/sh-dmcrypt.c.orig	2016-05-04 11:43:16.000000000 +0200
+++ g13/sh-dmcrypt.c	2016-07-26 11:24:35.449662123 +0200
@@ -25,6 +25,9 @@
 #include <errno.h>
 #include <assert.h>
 #include <sys/types.h>
+#ifdef __sun
+#include <sys/mkdev.h>
+#endif
 #ifdef HAVE_STAT
 # include <sys/stat.h>
 #endif