diff options
| author | wiz <wiz@NetBSD.org> | 2003-01-16 02:15:31 +0000 |
|---|---|---|
| committer | wiz <wiz@NetBSD.org> | 2003-01-16 02:15:31 +0000 |
| commit | 0cd0661e7792fd7a2378f92d1f8402cc84295c4f (patch) | |
| tree | c0ef410f6b035e775164740b2c50237f91ba0fdc /gnu/dist/cvs/diff/diff.c | |
| parent | c018fbe68d3bc581297b119212a1b39ffcdcf83a (diff) | |
Import cvs-1.11.4.
Diffstat (limited to 'gnu/dist/cvs/diff/diff.c')
| -rw-r--r-- | gnu/dist/cvs/diff/diff.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/dist/cvs/diff/diff.c b/gnu/dist/cvs/diff/diff.c index ebd78aebfd1..0b115f2dc21 100644 --- a/gnu/dist/cvs/diff/diff.c +++ b/gnu/dist/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 |
