summaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/detect.c1
-rw-r--r--commands/filetype.c2
-rw-r--r--commands/loadenv.c1
3 files changed, 3 insertions, 1 deletions
diff --git a/commands/detect.c b/commands/detect.c
index 15055e7..499994b 100644
--- a/commands/detect.c
+++ b/commands/detect.c
@@ -21,6 +21,7 @@
#include <complete.h>
#include <driver.h>
#include <getopt.h>
+#include <errno.h>
static int do_detect(int argc, char *argv[])
{
diff --git a/commands/filetype.c b/commands/filetype.c
index 20d335b..f82a461 100644
--- a/commands/filetype.c
+++ b/commands/filetype.c
@@ -12,7 +12,7 @@
#include <magicvar.h>
#include <getopt.h>
#include <linux/stat.h>
-#include <fs.h>
+#include <errno.h>
static int do_filetype(int argc, char *argv[])
{
diff --git a/commands/loadenv.c b/commands/loadenv.c
index 14b9643..df0df27 100644
--- a/commands/loadenv.c
+++ b/commands/loadenv.c
@@ -24,6 +24,7 @@
#include <getopt.h>
#include <command.h>
#include <envfs.h>
+#include <errno.h>
#include <fs.h>
static int do_loadenv(int argc, char *argv[])