summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Dykstra <dwd@samba.org>2000-01-10 20:36:20 +0000
committerDavid Dykstra <dwd@samba.org>2000-01-10 20:36:20 +0000
commitc08bb0fb733dd2a44c091687a0e57d5a6f61328c (patch)
treea616bd7d49e742a4e7eb023c0aac70ea2e6d9555 /lib
parente30f065766d103b47aaccbe777308e0d2381fd6e (diff)
downloadrsync-c08bb0fb733dd2a44c091687a0e57d5a6f61328c.tar.gz
rsync-c08bb0fb733dd2a44c091687a0e57d5a6f61328c.tar.bz2
rsync-c08bb0fb733dd2a44c091687a0e57d5a6f61328c.zip
Needed to comment out the inclusion of headers in fnmatch.c because it
couldn't find some of them (especially <fnmatch.h>, because it wasn't looking in the current directory). The header files are included better from ../rsync.h.
Diffstat (limited to 'lib')
-rw-r--r--lib/fnmatch.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/fnmatch.c b/lib/fnmatch.c
index 81e0680e..dd6297c6 100644
--- a/lib/fnmatch.c
+++ b/lib/fnmatch.c
@@ -2,7 +2,7 @@
#ifndef HAVE_FNMATCH
/* ----- THE FOLLOWING UP TO 'END' is glibc-2.1.2 posix/fnmatch.c
- except for the part with the '#if 0' */
+ except for the parts with '#if 0' */
/* Copyright (C) 1991, 92, 93, 96, 97, 98, 99 Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -22,6 +22,8 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#if 0 /* header files included better by ../rsync.h */
+
#if HAVE_CONFIG_H
# include <config.h>
#endif
@@ -45,6 +47,8 @@
# include <stdlib.h>
#endif
+#endif /* 0 */
+
/* For platform which support the ISO C amendement 1 functionality we
support user defined character classes. */
#if defined _LIBC || (defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H)