build: Added support patches for FreeBSD (#1584)

This pull request fixes build on FreeBSD. The changes are conditioned
with `#if defined(__FreeBSD__)` preprocessor macro and they should not
affect build for other operating systems.

---------

Co-authored-by: Nik <werwolv98@gmail.com>
Co-authored-by: iTrooz <hey@itrooz.fr>
This commit is contained in:
Nobutaka Mantani
2024-03-22 05:31:17 +09:00
committed by WerWolv
parent 27f3c634ba
commit 70b9ceba72
7 changed files with 35 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
#pragma once
#if defined(OS_WINDOWS) || defined (OS_LINUX)
#if defined(OS_WINDOWS) || (defined(OS_LINUX) && !defined(OS_FREEBSD))
#include <hex/providers/provider.hpp>
#include <hex/api/localization_manager.hpp>