From 473f9df65ab0eb365694404bc4c7e3afd09aac84 Mon Sep 17 00:00:00 2001 From: brett-rickman Date: Sun, 25 Aug 2024 15:59:27 +0000 Subject: [PATCH] FreeBSD compilation fixes Closes #2517. --- src/s3fs.cpp | 1 + test/mknod_test.cc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/s3fs.cpp b/src/s3fs.cpp index b959610..0a98649 100644 --- a/src/s3fs.cpp +++ b/src/s3fs.cpp @@ -29,6 +29,7 @@ #include #include #include +#include #include #include "common.h" diff --git a/test/mknod_test.cc b/test/mknod_test.cc index f206d3c..22ef239 100644 --- a/test/mknod_test.cc +++ b/test/mknod_test.cc @@ -26,7 +26,7 @@ #include #include #include -#ifndef __APPLE__ +#if !defined(__APPLE__) && !defined(__FreeBSD__) #include #endif