diff --git a/src/utf8_fix.cc b/src/utf8_fix.cc
index c451adb..3b55844 100644
--- a/src/utf8_fix.cc
+++ b/src/utf8_fix.cc
@@ -14,6 +14,8 @@
 
 #include "src/utf8_fix.h"
 
+#include <stdint.h>
+
 #include <algorithm>
 #include <cassert>