From: jsg Date: Wed, 14 Oct 2015 14:13:12 +0000 (+0000) Subject: add includes for crc32() and uuid_dec_be() missed in rev 1.11 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c60e821ed26220fca97b238ac903f831d4c2866e;p=openbsd add includes for crc32() and uuid_dec_be() missed in rev 1.11 ok krw@ --- diff --git a/usr.sbin/installboot/i386_installboot.c b/usr.sbin/installboot/i386_installboot.c index 6b0c96d7edb..744c62273ec 100644 --- a/usr.sbin/installboot/i386_installboot.c +++ b/usr.sbin/installboot/i386_installboot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i386_installboot.c,v 1.12 2015/10/08 14:50:38 krw Exp $ */ +/* $OpenBSD: i386_installboot.c,v 1.13 2015/10/14 14:13:12 jsg Exp $ */ /* $NetBSD: installboot.c,v 1.5 1995/11/17 23:23:50 gwr Exp $ */ /* @@ -65,6 +65,7 @@ #include #include #include +#include #include "installboot.h" #include "i386_installboot.h" diff --git a/usr.sbin/installboot/installboot.h b/usr.sbin/installboot/installboot.h index 2e56488558e..82961c9c366 100644 --- a/usr.sbin/installboot/installboot.h +++ b/usr.sbin/installboot/installboot.h @@ -1,4 +1,4 @@ -/* $OpenBSD: installboot.h,v 1.7 2015/10/14 00:19:04 krw Exp $ */ +/* $OpenBSD: installboot.h,v 1.8 2015/10/14 14:13:12 jsg Exp $ */ /* * Copyright (c) 2012, 2013 Joel Sing * @@ -29,6 +29,7 @@ void bootstrap(int, char *, char *); int filecopy(const char *, const char *); char *fileprefix(const char *, const char *); +u_int32_t crc32(const u_char *, const u_int32_t); void md_init(void); void md_loadboot(void);