diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2017-04-11 12:59:07 +0200 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2017-04-11 12:59:07 +0200 |
commit | c3cc9551dcc89cc25c0a0ec16d8eb12c1c221638 (patch) | |
tree | a9da8dd04787ac4529d93c7bb69c3ff915132e55 /g13 | |
parent | tests: Fix distcheck. (diff) | |
download | gnupg2-c3cc9551dcc89cc25c0a0ec16d8eb12c1c221638.tar.xz gnupg2-c3cc9551dcc89cc25c0a0ec16d8eb12c1c221638.zip |
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>
Diffstat (limited to 'g13')
-rw-r--r-- | g13/sh-dmcrypt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/g13/sh-dmcrypt.c b/g13/sh-dmcrypt.c index f7ec79758..c5489c96f 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_SYSMACROS_H +# include <sys/sysmacros.h> +#endif #ifdef HAVE_STAT # include <sys/stat.h> #endif |