diff --git a/test/test_dirfuncs_compat.c b/test/test_dirfuncs_compat.c index 6148d41..689b6cc 100644 --- a/test/test_dirfuncs_compat.c +++ b/test/test_dirfuncs_compat.c @@ -35,6 +35,7 @@ #define seekdir __mpls_seekdir #define rewinddir __mpls_rewinddir #define closedir __mpls_closedir +#undef dirfd #define dirfd __mpls_dirfd #include "test_fdopendir.c"