diff --git a/src/core/loader/nso.cpp b/src/core/loader/nso.cpp
index df2fb7b7f1..2ca9bf63c2 100644
--- a/src/core/loader/nso.cpp
+++ b/src/core/loader/nso.cpp
@@ -5,6 +5,7 @@
 #include <cinttypes>
 #include <vector>
 
+#include "common/data_compression.h"
 #include "common/common_funcs.h"
 #include "common/file_util.h"
 #include "common/hex_util.h"