summaryrefslogtreecommitdiff
path: root/cmd2.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd2.c')
-rw-r--r--cmd2.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd2.c b/cmd2.c
index 9322327..0d84892 100644
--- a/cmd2.c
+++ b/cmd2.c
@@ -11,6 +11,9 @@
/* This file contains some of the commands - mostly ones that change text */
#include <ctype.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include "config.h"
#include "vi.h"
#include "regexp.h"
@@ -23,7 +26,7 @@
# include <sys/stat.h>
# endif
#endif
-
+#include <string.h>
/*ARGSUSED*/
void cmd_substitute(frommark, tomark, cmd, bang, extra)