diff --git a/src/util/path.hpp b/src/util/path.hpp
index fa206a27c3b84ca48d67355ee8355f418ed7323c..e3114518cf597611f101597b7f4146b5b12c98ed 100644
--- a/src/util/path.hpp
+++ b/src/util/path.hpp
@@ -26,10 +26,6 @@
 #include <util/meta.hpp>
 #include <util/rangeutil.hpp>
 
-#ifndef _POSIX_C_SOURCE
-#error "no non-POSIX implementations for filesystem classes or methods"
-#endif
-
 namespace nest {
 namespace mc {
 namespace util {