--- a/include/dieharder/libdieharder.h
+++ b/include/dieharder/libdieharder.h
@@ -9,6 +9,7 @@
/* To enable large file support */
#define _FILE_OFFSET_BITS 64
+#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>