aboutsummaryrefslogtreecommitdiff
path: root/dfm.c
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2026-03-02 14:31:27 +0200
committerDylan Araps <dylan.araps@gmail.com>2026-03-02 14:31:27 +0200
commitde374325783da5f55e59fd674372af4c4e837790 (patch)
treef628cbff82c260cca24a0df1b724ca7a004e00c3 /dfm.c
parent46af36d62ee704e95653ac8bf937f55c199a7854 (diff)
platform/bsd.h: initial BSD platform support.
Untested... based on how other file managers do it. Related: #3
Diffstat (limited to 'dfm.c')
-rw-r--r--dfm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/dfm.c b/dfm.c
index d6b6612..d0c7509 100644
--- a/dfm.c
+++ b/dfm.c
@@ -66,8 +66,9 @@
#if defined(__linux__)
#include "platform/linux.h"
-#elif defined(__APPLE__)
-#include "platform/apple.h"
+#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) ||\
+ defined(__OpenBSD__) || defined(__DragonFly__)
+#include "platform/bsd.h"
#else
#include "platform/posix.h"
#endif