summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorEric Andersen2001-06-23 13:49:14 +0000
committerEric Andersen2001-06-23 13:49:14 +0000
commite0c0757d0925d7f83e2e107861c4e3ec8f525108 (patch)
tree806346c72b573fa64f1c381ea49853fcf15a2964 /editors
parentd9c8acec373213fb4c1778ab03364372fdf7a63b (diff)
downloadbusybox-e0c0757d0925d7f83e2e107861c4e3ec8f525108.zip
busybox-e0c0757d0925d7f83e2e107861c4e3ec8f525108.tar.gz
These were broken when using dmalloc due to include file ordering
problems. busybox.h must be last. -Erik
Diffstat (limited to 'editors')
-rw-r--r--editors/vi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/editors/vi.c b/editors/vi.c
index 6d15029..bd183e8 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -19,7 +19,7 @@
*/
char *vi_Version =
- "$Id: vi.c,v 1.8 2001/05/13 00:48:09 andersen Exp $";
+ "$Id: vi.c,v 1.9 2001/06/23 13:49:14 andersen Exp $";
/*
* To compile for standalone use:
@@ -65,9 +65,6 @@ char *vi_Version =
//#define BB_FEATURE_VI_CRASHME // randomly pick commands to execute
#endif /* STANDALONE */
-#ifndef STANDALONE
-#include "busybox.h"
-#endif /* STANDALONE */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -86,6 +83,9 @@ char *vi_Version =
#include <assert.h>
#include <errno.h>
#include <stdarg.h>
+#ifndef STANDALONE
+#include "busybox.h"
+#endif /* STANDALONE */
#ifndef TRUE
#define TRUE ((int)1)