summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2017-12-18 00:34:53 +0100
committerRichard Braun <rbraun@sceen.net>2017-12-18 00:34:53 +0100
commitd6176a972708c34ed06a644c07b19a4bd0eae37c (patch)
treec7a48ba3f3c9b4537ef1de61a2e706d07124fd57
parent356bf53ba569a94862b0b6ad98e5ef1592690a4b (diff)
shell: fix header inclusions
-rw-r--r--shell.c2
-rw-r--r--shell.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/shell.c b/shell.c
index 3567d1a..05bfde5 100644
--- a/shell.c
+++ b/shell.c
@@ -24,7 +24,9 @@
*/
#include <pthread.h>
+#include <stddef.h>
#include <stdio.h>
+#include <stdint.h>
#include <string.h>
#include "macros.h"
diff --git a/shell.h b/shell.h
index 73bd2e4..367ef2e 100644
--- a/shell.h
+++ b/shell.h
@@ -29,6 +29,8 @@
#ifndef _SHELL_H
#define _SHELL_H
+#include <stddef.h>
+
typedef void (*shell_fn_t)(int argc, char *argv[]);
struct shell_cmd {