Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/diff-not-so-quick'
[gitweb.git]
/
compat
/
fnmatch
/
fnmatch.c
diff --git
a/compat/fnmatch/fnmatch.c
b/compat/fnmatch/fnmatch.c
index 14feac7fe179069908df6dbc084b2adcc78c9242..9473aed2bbcb91994f166cf66d24459c66ac2fcb 100644
(file)
--- a/
compat/fnmatch/fnmatch.c
+++ b/
compat/fnmatch/fnmatch.c
@@
-127,6
+127,10
@@
extern char *getenv ();
extern int errno;
# endif
+# ifndef NULL
+# define NULL 0
+# endif
+
/* This function doesn't exist on most systems. */
# if !defined HAVE___STRCHRNUL && !defined _LIBC