--- a/src/sd/stack.h
+++ b/src/sd/stack.h
@@ -17,6 +17,7 @@
* @todo API homogeneity with sd_list and sd_hash
*/
+#include <stdint.h>
#include <stddef.h>
#include <sd/defs.h>