summaryrefslogtreecommitdiff
path: root/nuttx/fs
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/fs')
-rw-r--r--nuttx/fs/fs_ioctl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/nuttx/fs/fs_ioctl.c b/nuttx/fs/fs_ioctl.c
index 52329d60c..ba81228c1 100644
--- a/nuttx/fs/fs_ioctl.c
+++ b/nuttx/fs/fs_ioctl.c
@@ -43,9 +43,12 @@
#include <nuttx/config.h>
#include <sys/types.h>
+#include <sys/ioctl.h>
+
#include <sched.h>
#include <errno.h>
-#include <sys/ioctl.h>
+
+#include <net/if.h>
#if defined(CONFIG_NET) && CONFIG_NSOCKET_DESCRIPTORS > 0
# include <nuttx/net.h>