mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-24 03:37:16 +00:00
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
This commit is contained in:
parent
80500f4ed6
commit
a963845304
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=356790
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue