diff --git a/fesvr/device.h b/fesvr/device.h
index 1387b745..639b8374 100644
--- a/fesvr/device.h
+++ b/fesvr/device.h
@@ -6,6 +6,7 @@
 #include <cstring>
 #include <string>
 #include <functional>
+#include <cstdint>
 
 class memif_t;
 
