Fixes build error under MacOS

Fixes the
error: use of undeclared identifier 'HOST_HOOKS_INITIALIZER'

on Apple with M1 (silicon) chip

Fixes #17457

Change-Id: Id3b550c0d875d521539923ab7ecac0006715b7d6
Reviewed-on: https://review.haiku-os.org/c/buildtools/+/6191
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
This commit is contained in:
Thorsten Claus 2023-03-11 18:31:28 +01:00 committed by Adrien Destugues
parent 9866b1a47a
commit d11a12c7ae

View File

@ -22,6 +22,8 @@
#include "coretypes.h"
#include "diagnostic-core.h"
#include "config/host-darwin.h"
#include "hosthooks.h"
#include "hosthooks-def.h"
/* Yes, this is really supposed to work. */
/* This allows for a pagesize of 16384, which we have on Darwin20, but should