head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.06.23.12.40.05; author wiz; state Exp; branches; next ; commitid MmhNgHfnWrybbVKG; desc @@ 1.1 log @grub: fix build on -current While here, fix some pkglint @ text @$NetBSD$ Add header for opendisk(). --- lib/device.c.orig 2026-06-23 12:38:49.327131604 +0000 +++ lib/device.c @@@@ -36,6 +36,10 @@@@ #include #include +#ifdef __NetBSD__ +#include +#endif + #ifdef __linux__ # if !defined(__GLIBC__) || \ ((__GLIBC__ < 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ < 1))) @