summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kern/error.c2
-rw-r--r--kern/percpu.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/kern/error.c b/kern/error.c
index 110c804..f5d43e4 100644
--- a/kern/error.c
+++ b/kern/error.c
@@ -15,6 +15,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <stddef.h>
+
#include <kern/error.h>
#include <kern/panic.h>
diff --git a/kern/percpu.h b/kern/percpu.h
index d6a8d1a..18eb8aa 100644
--- a/kern/percpu.h
+++ b/kern/percpu.h
@@ -54,6 +54,7 @@
#define _KERN_PERCPU_H
#include <assert.h>
+#include <stddef.h>
#include <stdint.h>
#include <kern/macros.h>