From d319553824b566ab3c6be99e8c8475f9fbdddd30 Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Sat, 24 Sep 2022 10:37:12 +0200
Subject: filesystem.hpp, fix detection for Haiku, define GHC_NO_DIRENT_D_TYPE


diff --git a/filesystem/filesystem.hpp b/filesystem/filesystem.hpp
index fc8d987..f734e4c 100644
--- a/filesystem/filesystem.hpp
+++ b/filesystem/filesystem.hpp
@@ -80,6 +80,9 @@
 #elif defined(__QNX__)
 #define GHC_OS_QNX
 #define GHC_NO_DIRENT_D_TYPE
+#elif defined(__HAIKU__)
+#define GHC_OS_HAIKU
+#define GHC_NO_DIRENT_D_TYPE
 #else
 #error "Operating system currently not supported!"
 #endif
-- 
2.36.1

