summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/setbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdio/setbuf.c')
-rw-r--r--lib/libc/stdio/setbuf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/stdio/setbuf.c b/lib/libc/stdio/setbuf.c
index ddddf4ac..48d15c51 100644
--- a/lib/libc/stdio/setbuf.c
+++ b/lib/libc/stdio/setbuf.c
@@ -1,4 +1,6 @@
-#include <stdio.h> // for setvbuf, BUFSIZ, FILE, NULL, _IOFBF, _IONBF, setbuf
+#include "stddef.h" // for NULL
+
+#include <stdio.h> // for setvbuf, BUFSIZ, FILE, _IOFBF, _IONBF, setbuf
void setbuf(FILE *restrict stream, char *restrict buf)
{