Fix building of FileStreamTest.cpp on FreeBSD

According to POSIX, S_IRGRP et all are defined in sys/stat.h, so the code
that uses these defines should include that header
This commit is contained in:
Gleb Popov
2025-08-08 22:29:02 +03:00
committed by Matej Kenda
parent f43aec0cab
commit 675f73fced

View File

@@ -56,6 +56,7 @@ void FileStreamTest::testRead()
#if defined(POCO_OS_FAMILY_WINDOWS)
#include "Poco/UnicodeConverter.h"
#else
#include <sys/stat.h>
#include <fcntl.h>
#endif