diff options
author | 2015-03-15 15:13:31 +0000 | |
---|---|---|
committer | 2015-03-15 15:13:31 +0000 | |
commit | 51c7ab48180ae5a89e5255a9e7d85049af6e6cde (patch) | |
tree | 6ab71573d5a7dcc16bd12901f1ffdd87cf5707f2 /sys/kern/subr_disk.c | |
parent | from zhuk: paths not beginning dot (as well as slash) use CDPATH; (diff) | |
download | wireguard-openbsd-51c7ab48180ae5a89e5255a9e7d85049af6e6cde.tar.xz wireguard-openbsd-51c7ab48180ae5a89e5255a9e7d85049af6e6cde.zip |
Bring back '#include <lib/libz/zlib.h>', but inside #ifdev GPT. GPT
routines use crc32().
ok jsg@ doug@
Diffstat (limited to 'sys/kern/subr_disk.c')
-rw-r--r-- | sys/kern/subr_disk.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c index a946f386083..058b04dc3dc 100644 --- a/sys/kern/subr_disk.c +++ b/sys/kern/subr_disk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_disk.c,v 1.181 2015/03/14 03:38:50 jsg Exp $ */ +/* $OpenBSD: subr_disk.c,v 1.182 2015/03/15 15:13:31 krw Exp $ */ /* $NetBSD: subr_disk.c,v 1.17 1996/03/16 23:17:08 christos Exp $ */ /* @@ -65,6 +65,10 @@ #include <dev/rndvar.h> #include <dev/cons.h> +#ifdef GPT +#include <lib/libz/zlib.h> +#endif + #include "softraid.h" #ifdef DEBUG |