mirror of
https://github.com/pocoproject/poco.git
synced 2025-12-12 12:56:44 +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)
|
#if defined(POCO_OS_FAMILY_WINDOWS)
|
||||||
#include "Poco/UnicodeConverter.h"
|
#include "Poco/UnicodeConverter.h"
|
||||||
#else
|
#else
|
||||||
|
#include <sys/stat.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user