summaryrefslogtreecommitdiffhomepage
path: root/editors
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-05-19 12:30:00 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-05-19 12:30:00 +0000
commita2a647dfc1c003eacc53c2abe744ba4b3d7b2fbc (patch)
tree91766f417783ee69b93d44f1a39a70e874285f98 /editors
parenta85a63f6ee9f5815887158976bbf6b9a5a441db4 (diff)
- include strings.h
Thanks to Rich Felker for pointing this out.
Diffstat (limited to 'editors')
-rw-r--r--editors/awk.c1
-rw-r--r--editors/vi.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/editors/awk.c b/editors/awk.c
index 9c8bef53a..f4eb1ab90 100644
--- a/editors/awk.c
+++ b/editors/awk.c
@@ -12,6 +12,7 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
+#include <strings.h>
#include <time.h>
#include <math.h>
#include <ctype.h>
diff --git a/editors/vi.c b/editors/vi.c
index 9aacae439..0c0c930b9 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -53,6 +53,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <strings.h>
#include <termios.h>
#include <unistd.h>
#include <sys/ioctl.h>