summaryrefslogtreecommitdiffstats
path: root/contrib/cvs/diff/diff.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-12-02 03:13:37 +0000
committerpeter <peter@FreeBSD.org>2002-12-02 03:13:37 +0000
commitc88e7301411c002ff913342f1619967f7c3b58e7 (patch)
tree41e3ca13c2d66973453a5c0ea9b349da9618bfdb /contrib/cvs/diff/diff.c
parent64d3246a13e0c323164816b3820e24af7b8f003e (diff)
parent3dc96f7243ece1d1f7f87b03334f840415e0db63 (diff)
downloadFreeBSD-src-c88e7301411c002ff913342f1619967f7c3b58e7.zip
FreeBSD-src-c88e7301411c002ff913342f1619967f7c3b58e7.tar.gz
This commit was generated by cvs2svn to compensate for changes in r107484,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/cvs/diff/diff.c')
-rw-r--r--contrib/cvs/diff/diff.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/cvs/diff/diff.c b/contrib/cvs/diff/diff.c
index ebd78ae..0b115f2 100644
--- a/contrib/cvs/diff/diff.c
+++ b/contrib/cvs/diff/diff.c
@@ -22,7 +22,12 @@ GNU General Public License for more details.
#include "diff.h"
#include <signal.h>
#include "getopt.h"
-#include "fnmatch.h"
+
+#ifdef HAVE_FNMATCH
+# include <fnmatch.h> /* This is supposed to be available on Posix systems */
+#else /* HAVE_FNMATCH */
+# include "fnmatch.h" /* Our substitute */
+#endif /* HAVE_FNMATCH */
#ifndef DEFAULT_WIDTH
#define DEFAULT_WIDTH 130
OpenPOWER on IntegriCloud