Date: Thu, 16 Jan 2020 14:14:55 +0000 (UTC) From: Alex Richardson <arichardson@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r356790 - head/usr.bin/mkimg Message-ID: <202001161414.00GEEtIm078581@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: arichardson Date: Thu Jan 16 14:14:55 2020 New Revision: 356790 URL: https://svnweb.freebsd.org/changeset/base/356790 Log: Allow bootstrapping mkimg on macOS/Linux On these systems the (u)int64_t typedefs will not be implicitly defined by the previous includes, so include <stdint.h> in the header that uses uint64_t. Reviewed By: brooks Differential Revision: https://reviews.freebsd.org/D23202 Modified: head/usr.bin/mkimg/image.h Modified: head/usr.bin/mkimg/image.h ============================================================================== --- head/usr.bin/mkimg/image.h Thu Jan 16 14:14:50 2020 (r356789) +++ head/usr.bin/mkimg/image.h Thu Jan 16 14:14:55 2020 (r356790) @@ -29,6 +29,8 @@ #ifndef _MKIMG_IMAGE_H_ #define _MKIMG_IMAGE_H_ +#include <stdint.h> + typedef int64_t lba_t; int image_copyin(lba_t blk, int fd, uint64_t *sizep);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001161414.00GEEtIm078581>