From 1c8ee6dd97a0c9bca478bb4ada862f091698a2f7 Mon Sep 17 00:00:00 2001 From: Taylor R Campbell Date: Sat, 5 Feb 2022 16:31:41 +0000 Subject: [PATCH] vchiq(4): Fix llvm build with only one loff_t definition. --- sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.h b/sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.h index 60d28f736339..4b87b3c6502e 100644 --- a/sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.h +++ b/sys/external/bsd/vchiq/dist/interface/compat/vchi_bsd.h @@ -45,6 +45,7 @@ #include #include +#include #include /* @@ -255,7 +256,6 @@ int fatal_signal_pending(VCHIQ_THREAD_T); #define PAGE_ALIGN(addr) round_page(addr) typedef void irqreturn_t; -typedef off_t loff_t; #define BCM2835_MBOX_CHAN_VCHIQ 3 #define bcm_mbox_write bcmmbox_write