diff --git a/src/66/66-scandir.c b/src/66/66-scandir.c
index 108868f6eb356eeecd4a8a0f824fe8e7446e509c..e95e51ee4bdcb149b7566d91ed75d762f2b4f86e 100644
--- a/src/66/66-scandir.c
+++ b/src/66/66-scandir.c
@@ -27,7 +27,7 @@
 #include <skalibs/stralloc.h>
 #include <skalibs/djbunix.h>
 #include <skalibs/types.h>
-#include <env.h>
+#include <skalibs/env.h>
 
 #include <s6/config.h>
 #include <s6-portable-utils/config.h>