summaryrefslogtreecommitdiffstats
path: root/src/hci
diff options
context:
space:
mode:
Diffstat (limited to 'src/hci')
-rw-r--r--src/hci/commands/dhcp_cmd.c5
-rw-r--r--src/hci/mucurses/ansi_screen.c1
-rw-r--r--src/hci/readline.c1
-rw-r--r--src/hci/shell_banner.c1
-rw-r--r--src/hci/tui/settings_ui.c1
5 files changed, 9 insertions, 0 deletions
diff --git a/src/hci/commands/dhcp_cmd.c b/src/hci/commands/dhcp_cmd.c
index 208f35578..07acc615c 100644
--- a/src/hci/commands/dhcp_cmd.c
+++ b/src/hci/commands/dhcp_cmd.c
@@ -16,9 +16,14 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
+#include <errno.h>
+#include <stddef.h>
+#include <string.h>
+#include <assert.h>
#include <getopt.h>
#include <gpxe/netdevice.h>
#include <gpxe/command.h>
diff --git a/src/hci/mucurses/ansi_screen.c b/src/hci/mucurses/ansi_screen.c
index aef86f414..e77fcdc6f 100644
--- a/src/hci/mucurses/ansi_screen.c
+++ b/src/hci/mucurses/ansi_screen.c
@@ -1,3 +1,4 @@
+#include <stdio.h>
#include <curses.h>
#include <console.h>
diff --git a/src/hci/readline.c b/src/hci/readline.c
index 420df648a..7df8b6bb7 100644
--- a/src/hci/readline.c
+++ b/src/hci/readline.c
@@ -16,6 +16,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <console.h>
diff --git a/src/hci/shell_banner.c b/src/hci/shell_banner.c
index 0448f99cd..1413fe16a 100644
--- a/src/hci/shell_banner.c
+++ b/src/hci/shell_banner.c
@@ -16,6 +16,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <stdio.h>
#include <console.h>
#include <latch.h>
#include <gpxe/shell_banner.h>
diff --git a/src/hci/tui/settings_ui.c b/src/hci/tui/settings_ui.c
index 112eadebf..3524f3c38 100644
--- a/src/hci/tui/settings_ui.c
+++ b/src/hci/tui/settings_ui.c
@@ -16,6 +16,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <stdio.h>
#include <stdarg.h>
#include <unistd.h>
#include <string.h>