summaryrefslogtreecommitdiff
path: root/core/openbsd/patch/0007-diff-Add-missing-sys-cdefs.h-include.patch
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2016-06-04 14:49:34 -0700
committerMichael Forney <mforney@mforney.org>2016-06-04 14:49:34 -0700
commit2a05cf66a0bf8d0bbffcfec3d62ffb3b705534c1 (patch)
treee39d9096d588d432fb62609055b839cdc7ada440 /core/openbsd/patch/0007-diff-Add-missing-sys-cdefs.h-include.patch
parent593f0858ddbb650036de515816fe731d66cde2cb (diff)
openbsd: Build diff(1)
Diffstat (limited to 'core/openbsd/patch/0007-diff-Add-missing-sys-cdefs.h-include.patch')
-rw-r--r--core/openbsd/patch/0007-diff-Add-missing-sys-cdefs.h-include.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/core/openbsd/patch/0007-diff-Add-missing-sys-cdefs.h-include.patch b/core/openbsd/patch/0007-diff-Add-missing-sys-cdefs.h-include.patch
new file mode 100644
index 00000000..6bc4b001
--- /dev/null
+++ b/core/openbsd/patch/0007-diff-Add-missing-sys-cdefs.h-include.patch
@@ -0,0 +1,24 @@
+From d7eab8f491d466c891b72b724087ec14c55225ae Mon Sep 17 00:00:00 2001
+From: Michael Forney <mforney@mforney.org>
+Date: Sat, 4 Jun 2016 14:48:20 -0700
+Subject: [PATCH] diff: Add missing sys/cdefs.h include
+
+---
+ usr.bin/diff/diff.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/usr.bin/diff/diff.c b/usr.bin/diff/diff.c
+index 2b075f1..80c7f84 100644
+--- a/usr.bin/diff/diff.c
++++ b/usr.bin/diff/diff.c
+@@ -20,6 +20,7 @@
+ * Materiel Command, USAF, under agreement number F39502-99-1-0512.
+ */
+
++#include <sys/cdefs.h>
+ #include <sys/stat.h>
+
+ #include <ctype.h>
+--
+2.8.1
+