diff --git a/pd/src/s_path.c b/pd/src/s_path.c
index 7d028d8c88b64626c1ed42b2ca9e7ed492268a83..037e03b5fed256989d61ac30ce9691bbbea50581 100644
--- a/pd/src/s_path.c
+++ b/pd/src/s_path.c
@@ -27,6 +27,7 @@
 #include "m_pd.h"
 #include "m_imp.h"
 #include "s_stuff.h"
+#include "s_utf8.h"
 #include <stdio.h>
 #include <fcntl.h>
 #include <ctype.h>