diff --git a/src/posix/path.cc b/src/posix/path.cc index 86bbc6e..691832e 100644 --- a/src/posix/path.cc +++ b/src/posix/path.cc @@ -4,8 +4,16 @@ */ /* mainly only for glibc, but it's harmless elsewhere */ + +#ifdef _POSIX_C_SOURCE +#undef _POSIX_C_SOURCE +#endif + #define _POSIX_C_SOURCE 200809L + +#ifndef _ATFILE_SOURCE #define _ATFILE_SOURCE 1 +#endif #include #include