summaryrefslogtreecommitdiff
path: root/platform/linuxbsd/os_linuxbsd.h
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-12-05 07:56:44 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-12-05 07:56:44 +0200
commit89db7f8e7c6971f5a20e493bab338bbaee9d0457 (patch)
treed113872f3cff2f9dbd62dd5eb31c3ed17ef75762 /platform/linuxbsd/os_linuxbsd.h
parent8912f3e4a7c012443e941f4c6f2342c9913fa330 (diff)
[Linux/BSD] Fix build without fontconfig.
Diffstat (limited to 'platform/linuxbsd/os_linuxbsd.h')
-rw-r--r--platform/linuxbsd/os_linuxbsd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/linuxbsd/os_linuxbsd.h b/platform/linuxbsd/os_linuxbsd.h
index ef830a069b..bf469af568 100644
--- a/platform/linuxbsd/os_linuxbsd.h
+++ b/platform/linuxbsd/os_linuxbsd.h
@@ -51,6 +51,9 @@ class OS_LinuxBSD : public OS_Unix {
bool font_config_initialized = false;
FcConfig *config = nullptr;
FcObjectSet *object_set = nullptr;
+
+ int _weight_to_fc(int p_weight) const;
+ int _stretch_to_fc(int p_stretch) const;
#endif
#ifdef JOYDEV_ENABLED
@@ -73,9 +76,6 @@ class OS_LinuxBSD : public OS_Unix {
MainLoop *main_loop = nullptr;
- int _weight_to_fc(int p_weight) const;
- int _stretch_to_fc(int p_stretch) const;
-
String get_systemd_os_release_info_value(const String &key) const;
Vector<String> lspci_device_filter(Vector<String> vendor_device_id_mapping, String class_suffix, String check_column, String whitelist) const;