aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/awk.c2
-rw-r--r--editors/ed.c2
-rw-r--r--editors/patch.c6
-rw-r--r--editors/sed.c2
-rw-r--r--editors/vi.c2
5 files changed, 6 insertions, 8 deletions
diff --git a/editors/awk.c b/editors/awk.c
index 2d6773b65..ea326ecdf 100644
--- a/editors/awk.c
+++ b/editors/awk.c
@@ -7,7 +7,7 @@
7 * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. 7 * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
8 */ 8 */
9 9
10#include "busybox.h" 10#include "libbb.h"
11#include "xregex.h" 11#include "xregex.h"
12#include <math.h> 12#include <math.h>
13extern char **environ; 13extern char **environ;
diff --git a/editors/ed.c b/editors/ed.c
index 1706e4271..731aef1cb 100644
--- a/editors/ed.c
+++ b/editors/ed.c
@@ -7,7 +7,7 @@
7 * The "ed" built-in command (much simplified) 7 * The "ed" built-in command (much simplified)
8 */ 8 */
9 9
10#include "busybox.h" 10#include "libbb.h"
11 11
12enum { 12enum {
13 USERSIZE = sizeof(bb_common_bufsiz1) > 1024 ? 1024 13 USERSIZE = sizeof(bb_common_bufsiz1) > 1024 ? 1024
diff --git a/editors/patch.c b/editors/patch.c
index 11b2f2587..f65bbf4f9 100644
--- a/editors/patch.c
+++ b/editors/patch.c
@@ -20,10 +20,8 @@
20 */ 20 */
21 21
22#include <getopt.h> 22#include <getopt.h>
23#include <string.h> 23
24#include <stdlib.h> 24#include "libbb.h"
25#include <unistd.h>
26#include "busybox.h"
27 25
28static unsigned int copy_lines(FILE *src_stream, FILE *dest_stream, const unsigned int lines_count) 26static unsigned int copy_lines(FILE *src_stream, FILE *dest_stream, const unsigned int lines_count)
29{ 27{
diff --git a/editors/sed.c b/editors/sed.c
index 4dd533177..b3c4430a1 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -58,7 +58,7 @@
58 Reference http://www.opengroup.org/onlinepubs/007904975/utilities/sed.html 58 Reference http://www.opengroup.org/onlinepubs/007904975/utilities/sed.html
59*/ 59*/
60 60
61#include "busybox.h" 61#include "libbb.h"
62#include "xregex.h" 62#include "xregex.h"
63 63
64/* Each sed command turns into one of these structures. */ 64/* Each sed command turns into one of these structures. */
diff --git a/editors/vi.c b/editors/vi.c
index 66b01e26b..97ca802dc 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -21,7 +21,7 @@
21 * An "ex" line oriented mode- maybe using "cmdedit" 21 * An "ex" line oriented mode- maybe using "cmdedit"
22 */ 22 */
23 23
24#include "busybox.h" 24#include "libbb.h"
25 25
26#define ENABLE_FEATURE_VI_CRASHME 0 26#define ENABLE_FEATURE_VI_CRASHME 0
27 27