diff options
author | Richard Braun <rbraun@sceen.net> | 2017-10-04 21:32:26 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-10-04 21:32:26 +0200 |
commit | a4f9c594045c699423141ce33d593fd62575f5dc (patch) | |
tree | a5ca21b08a5a422ee4d5f61016a6a15f271f3a21 | |
parent | 018056de4fc2c971befea7deeaa93c85cd6181b6 (diff) |
Fix some header inclusions
-rw-r--r-- | arch/x86/machine/pmap.c | 1 | ||||
-rw-r--r-- | kern/console.c | 1 | ||||
-rw-r--r-- | kern/init.c | 1 | ||||
-rw-r--r-- | kern/printf.c | 2 | ||||
-rw-r--r-- | kern/sref.c | 1 | ||||
-rw-r--r-- | kern/work.c | 1 | ||||
-rw-r--r-- | vm/vm_page.c | 2 |
7 files changed, 9 insertions, 0 deletions
diff --git a/arch/x86/machine/pmap.c b/arch/x86/machine/pmap.c index 6d424966..fc2c0a0f 100644 --- a/arch/x86/machine/pmap.c +++ b/arch/x86/machine/pmap.c @@ -21,6 +21,7 @@ #include <assert.h> #include <stdalign.h> #include <stddef.h> +#include <stdint.h> #include <string.h> #include <kern/cpumap.h> 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> diff --git a/vm/vm_page.c b/vm/vm_page.c index 7f419b97..a3844662 100644 --- a/vm/vm_page.c +++ b/vm/vm_page.c @@ -34,6 +34,7 @@ #include <stdbool.h> #include <stddef.h> #include <stdint.h> +#include <stdio.h> #include <string.h> #include <kern/init.h> @@ -42,6 +43,7 @@ #include <kern/macros.h> #include <kern/mutex.h> #include <kern/panic.h> +#include <kern/printf.h> #include <kern/shell.h> #include <kern/thread.h> #include <machine/boot.h> |