mirror of
https://github.com/pocoproject/poco.git
synced 2025-12-11 12:07:23 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user