Idwer Vollering has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/49314 )
Change subject: util/cbfstool: unbreak compilation on FreeBSD ......................................................................
util/cbfstool: unbreak compilation on FreeBSD
Compilation has been broken in commit I022468f6957415ae68a7a7e70428ae6f82d23b06 Adding a missing define solved this. See https://cgit.freebsd.org/src/tree/sys/sys/fcntl.h#n319
Signed-off-by: Idwer Vollering vidwer@gmail.com Change-Id: I3433e4c9269880d3202dd494e5b2e962757a6b87 --- M util/cbfstool/partitioned_file.c 1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/14/49314/1
diff --git a/util/cbfstool/partitioned_file.c b/util/cbfstool/partitioned_file.c index 6e75600..4835f6b 100644 --- a/util/cbfstool/partitioned_file.c +++ b/util/cbfstool/partitioned_file.c @@ -1,6 +1,8 @@ /* read and write binary file "partitions" described by FMAP */ /* SPDX-License-Identifier: GPL-2.0-only */
+#define __BSD_VISIBLE 1 + #include "partitioned_file.h"
#include "cbfs_sections.h"