summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
Diffstat (limited to 'kern')
-rw-r--r--kern/console.c1
-rw-r--r--kern/init.c1
-rw-r--r--kern/printf.c2
-rw-r--r--kern/sref.c1
-rw-r--r--kern/work.c1
5 files changed, 6 insertions, 0 deletions
diff --git a/kern/console.c b/kern/console.c
index 0b5c4f86..0ed54b5e 100644
--- a/kern/console.c
+++ b/kern/console.c
@@ -18,6 +18,7 @@
#include <assert.h>
#include <stdbool.h>
#include <stddef.h>
+#include <stdio.h>
#include <string.h>
#include <kern/arg.h>
diff --git a/kern/init.c b/kern/init.c
index 6bd48380..da106acd 100644
--- a/kern/init.c
+++ b/kern/init.c
@@ -26,6 +26,7 @@
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
+#include <stdio.h>
#include <string.h>
#include <kern/error.h>
diff --git a/kern/printf.c b/kern/printf.c
index 68cf4ba9..29267a6e 100644
--- a/kern/printf.c
+++ b/kern/printf.c
@@ -15,6 +15,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <stdio.h>
+
#include <kern/console.h>
#include <kern/fmt.h>
#include <kern/init.h>
diff --git a/kern/sref.c b/kern/sref.c
index 7775a5c9..051fe4c1 100644
--- a/kern/sref.c
+++ b/kern/sref.c
@@ -44,6 +44,7 @@
#include <assert.h>
#include <stdbool.h>
#include <stddef.h>
+#include <stdio.h>
#include <kern/condition.h>
#include <kern/cpumap.h>
diff --git a/kern/work.c b/kern/work.c
index a841d38d..c1bdede1 100644
--- a/kern/work.c
+++ b/kern/work.c
@@ -18,6 +18,7 @@
#include <assert.h>
#include <stdalign.h>
#include <stddef.h>
+#include <stdio.h>
#include <kern/bitmap.h>
#include <kern/error.h>