Build fix for Haiku's fcntl.h which can't be found in sys/fcntl.h

This commit is contained in:
Luc Schrijvers
2026-05-07 18:08:07 +02:00
committed by Urs Fleisch
parent 43190d30ed
commit d1460b6fbf

View File

@@ -32,7 +32,11 @@
#else
#include <unistd.h>
#include <fcntl.h>
#ifdef __HAIKU__
#include <fcntl.h>
#else
#include <sys/fcntl.h>
#endif
#include <sys/stat.h>
#endif
#include <cstdio>