summaryrefslogtreecommitdiffstats
path: root/usr.bin/patch/patch.c
diff options
context:
space:
mode:
authoranton <anton@openbsd.org>2018-04-07 14:55:13 +0000
committeranton <anton@openbsd.org>2018-04-07 14:55:13 +0000
commite7f942e831dc123bf18b37a7b94814bf3ce9539b (patch)
tree4fe9915a8923043ea78773eb399a68be00dcbe2b /usr.bin/patch/patch.c
parenttweak previous; (diff)
downloadwireguard-openbsd-e7f942e831dc123bf18b37a7b94814bf3ce9539b.tar.xz
wireguard-openbsd-e7f942e831dc123bf18b37a7b94814bf3ce9539b.zip
Remove unused pathnames.h header since patch was refactoring into not invoking
ed back in 2015; ok millert@ tb@ tobias@
Diffstat (limited to 'usr.bin/patch/patch.c')
-rw-r--r--usr.bin/patch/patch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/patch/patch.c b/usr.bin/patch/patch.c
index fef7df6466e..b0627c89b86 100644
--- a/usr.bin/patch/patch.c
+++ b/usr.bin/patch/patch.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: patch.c,v 1.64 2017/06/12 14:23:26 deraadt Exp $ */
+/* $OpenBSD: patch.c,v 1.65 2018/04/07 14:55:13 anton Exp $ */
/*
* patch - a program to apply diffs to original files
@@ -33,6 +33,7 @@
#include <ctype.h>
#include <getopt.h>
#include <limits.h>
+#include <paths.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
@@ -42,7 +43,6 @@
#include "pch.h"
#include "inp.h"
#include "backupfile.h"
-#include "pathnames.h"
#include "ed.h"
mode_t filemode = 0644;