1From 7ce395bfbff36cf0020d0a425ff3053fcf2eaa3d Mon Sep 17 00:00:00 2001
2From: Michael Forney <mforney@mforney.org>
3Date: Sat, 4 Jun 2016 14:48:20 -0700
4Subject: [PATCH] diff: Add missing includes
5
6---
7 usr.bin/diff/diff.c | 1 +
8 usr.bin/diff/diffreg.c | 1 +
9 2 files changed, 2 insertions(+)
10
11diff --git a/usr.bin/diff/diff.c b/usr.bin/diff/diff.c
12index 2b075f12c..80c7f842e 100644
13--- a/usr.bin/diff/diff.c
14+++ b/usr.bin/diff/diff.c
15@@ -20,6 +20,7 @@
16 * Materiel Command, USAF, under agreement number F39502-99-1-0512.
17 */
18
19+#include <sys/cdefs.h>
20 #include <sys/stat.h>
21
22 #include <ctype.h>
23diff --git a/usr.bin/diff/diffreg.c b/usr.bin/diff/diffreg.c
24index 35d61c349..953018cf5 100644
25--- a/usr.bin/diff/diffreg.c
26+++ b/usr.bin/diff/diffreg.c
27@@ -77,6 +77,7 @@
28 #include <stdio.h>
29 #include <stdlib.h>
30 #include <string.h>
31+#include <time.h>
32 #include <unistd.h>
33 #include <limits.h>
34
35--
362.12.2
37