mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
Fix missing sys/stat.h include on musl-based systems
Boost 1.78.0 fails to build on musl-based systems because musl does not include sys/stat.h by default. Fixes #161 ("Boost compiler error")
This commit is contained in:
@@ -29,6 +29,10 @@
|
||||
|
||||
#include <boost/interprocess/detail/win32_api.hpp>
|
||||
|
||||
#else
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
#endif
|
||||
|
||||
#endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED
|
||||
|
||||
Reference in New Issue
Block a user