summaryrefslogtreecommitdiff
path: root/bin/ed/re.c
diff options
context:
space:
mode:
authormmcc <mmcc@cvs.openbsd.org>2016-03-22 17:58:29 +0000
committermmcc <mmcc@cvs.openbsd.org>2016-03-22 17:58:29 +0000
commit12a545110d47114878f95bbef74ac96d7320210e (patch)
treee79ee65f57e5a688a23d49ebcf63c19c6738b6dc /bin/ed/re.c
parent6ab1cee89df90efcee57a1592e2a2349bf06ad5c (diff)
header cleanup
from Edgar Pettijohn, correction from deraadt@
Diffstat (limited to 'bin/ed/re.c')
-rw-r--r--bin/ed/re.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/ed/re.c b/bin/ed/re.c
index eea8c267475..8e019c11b63 100644
--- a/bin/ed/re.c
+++ b/bin/ed/re.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: re.c,v 1.16 2015/10/09 21:24:05 tobias Exp $ */
+/* $OpenBSD: re.c,v 1.17 2016/03/22 17:58:28 mmcc Exp $ */
/* $NetBSD: re.c,v 1.14 1995/03/21 09:04:48 cgd Exp $ */
/* re.c: This file contains the regular expression interface routines for
@@ -29,6 +29,12 @@
* SUCH DAMAGE.
*/
+#include <regex.h>
+#include <signal.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
#include "ed.h"
static char *extract_pattern(int);