Browse Source

Added missed includes.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin 15 years ago
parent
commit
7f50de4670
2 changed files with 9 additions and 5 deletions
  1. 1 0
      lib/timefmt.h
  2. 8 5
      src/ext.c

+ 1 - 0
lib/timefmt.h

@@ -6,6 +6,7 @@
 #ifndef __UTIL_TIMEFMT_H
 #define __UTIL_TIMEFMT_H
 
+#include <sys/time.h>
 #include <sys/types.h>
 
 #define INVALID_TIME_TEXT	"(invalid)"

+ 8 - 5
src/ext.c

@@ -34,18 +34,21 @@
 
 #include "lib/global.h"
 #include "lib/tty/tty.h"
+#include "lib/search.h"
+#include "lib/fileloc.h"
+
+#include "consaver/cons.saver.h"
+#include "viewer/mcviewer.h"
+
+#include "lib/vfs/mc-vfs/vfs.h"
+
 #include "user.h"
 #include "main.h"
 #include "wtools.h"
 #include "ext.h"
 #include "execute.h"
 #include "history.h"
-#include "consaver/cons.saver.h"
 #include "layout.h"
-#include "lib/search.h"
-#include "src/viewer/mcviewer.h"
-
-#include "lib/vfs/mc-vfs/vfs.h"
 
 /* If set, we execute the file command to check the file type */
 int use_file_to_check_type = 1;