From: mduft@gentoo.org Date: Wed, 25 May 2011 14:15:24 GMT Subject: [PATCH 2/2] Include unistd.h. Message-ID: <1306332924-28587-3-git-send-email-mduft@gentoo.org> In-Reply-To: <1306332924-28587-1-git-send-email-mduft@gentoo.org> At least on Interix, NULL is defined in unistd.h, and not including it causes compilation failure. Signed-off-by: Markus Duft --- compat/fnmatch/fnmatch.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/compat/fnmatch/fnmatch.c b/compat/fnmatch/fnmatch.c index 14feac7..0238cca 100644 --- a/compat/fnmatch/fnmatch.c +++ b/compat/fnmatch/fnmatch.c @@ -25,6 +25,7 @@ # define _GNU_SOURCE 1 #endif +#include #include #include #include -- 1.7.3.4