diff --git a/C/bitstream.h b/C/bitstream.h
index 587f3b5b9..bb16d5167 100644
--- a/C/bitstream.h
+++ b/C/bitstream.h
@@ -2,7 +2,7 @@
 #ifndef SIMPLICITY_BITSTREAM_H
 #define SIMPLICITY_BITSTREAM_H
 
-#include <stdio.h>
+#include <stddef.h>
 #include <stdint.h>
 #include <stdbool.h>
 #include <simplicity/errorCodes.h>