freebsd-ports/sysutils/atf-master/files/patch-tools_fiptool_fiptool.c
Emmanuel Vadot daa3c9cef2 sysutils/atf-fvp: Fix build
We need to define __BSD_VISIBLE so u_int and friends are defined.

Sponsored by:	Beckhoff Automation GmbH & Co. KG
2023-09-22 11:34:38 +02:00

10 lines
225 B
C

--- tools/fiptool/fiptool.c.orig 2023-09-22 09:29:57 UTC
+++ tools/fiptool/fiptool.c
@@ -4,6 +4,7 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
+#define __BSD_VISIBLE 1
#ifndef _MSC_VER
#include <sys/mount.h>
#endif