diff --git a/src/background.c b/src/background.c index 0ed0473b0..9eadd29f2 100644 --- a/src/background.c +++ b/src/background.c @@ -39,6 +39,7 @@ #include #include +#include /* waitpid() */ #include #include diff --git a/src/command.c b/src/command.c index e4553ea92..8b0f27422 100644 --- a/src/command.c +++ b/src/command.c @@ -28,6 +28,7 @@ #include +#include #include #include diff --git a/src/dialog.c b/src/dialog.c index 12d5b20a5..a7c8216b5 100644 --- a/src/dialog.c +++ b/src/dialog.c @@ -24,6 +24,7 @@ #include #include +#include #include #include #include diff --git a/src/ext.c b/src/ext.c index ea796a413..b79bc0784 100644 --- a/src/ext.c +++ b/src/ext.c @@ -27,6 +27,7 @@ #include #include +#include #include #include #include diff --git a/src/file.c b/src/file.c index 0b99bc5a5..15d5f70b8 100644 --- a/src/file.c +++ b/src/file.c @@ -47,9 +47,9 @@ #include #include +#include #include #include - #include #include #include diff --git a/src/layout.c b/src/layout.c index feb9f68cc..e801a991e 100644 --- a/src/layout.c +++ b/src/layout.c @@ -28,9 +28,9 @@ #include #include +#include #include #include - #include #include diff --git a/src/main.c b/src/main.c index 909f702d0..1e6f74beb 100644 --- a/src/main.c +++ b/src/main.c @@ -36,6 +36,7 @@ #include #include #include +#include #include #include diff --git a/src/setup.c b/src/setup.c index f1bb7831e..ad8aa988b 100644 --- a/src/setup.c +++ b/src/setup.c @@ -22,6 +22,7 @@ #include +#include #include #include #include diff --git a/src/subshell.c b/src/subshell.c index 7253415c9..c768a8354 100644 --- a/src/subshell.c +++ b/src/subshell.c @@ -29,13 +29,14 @@ #endif #include -#include +#include #include #include #include #include #include #include +#include #ifdef HAVE_SYS_IOCTL_H # include #endif diff --git a/src/user.c b/src/user.c index 8a16aa211..5d8eb4fe3 100644 --- a/src/user.c +++ b/src/user.c @@ -24,6 +24,7 @@ #include #include +#include #include #include @@ -47,7 +48,6 @@ #include "dialog.h" #include "widget.h" #include "wtools.h" - #include "view.h" /* for default_* externs */ #define MAX_ENTRIES 16 diff --git a/src/utilunix.c b/src/utilunix.c index 71a12d95d..38fe8e690 100644 --- a/src/utilunix.c +++ b/src/utilunix.c @@ -40,6 +40,7 @@ #include #include #include +#include #ifdef HAVE_SYS_IOCTL_H # include #endif diff --git a/src/widget.c b/src/widget.c index 45c1c4225..86eb69203 100644 --- a/src/widget.c +++ b/src/widget.c @@ -34,6 +34,7 @@ #include #include #include +#include #include #include #include diff --git a/vfs/vfs.h b/vfs/vfs.h index 6abb39cb7..cc7d34238 100644 --- a/vfs/vfs.h +++ b/vfs/vfs.h @@ -7,6 +7,10 @@ #ifndef MC_VFS_VFS_H #define MC_VFS_VFS_H +#include +#include +#include + void vfs_init (void); void vfs_shut (void);