summaryrefslogtreecommitdiff
path: root/glob/fnmatch.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1996-03-01 17:07:10 +0000
committerRoland McGrath <roland@redhat.com>1996-03-01 17:07:10 +0000
commit5f1e98e59b781e74c6e6f0f2f3368172577144f5 (patch)
tree488a1bfd9f5edfe8ac652bec537640bf678d8d64 /glob/fnmatch.c
parentf4020bfba8d5f823cda4c3a9bf2288479ab22dca (diff)
downloadgunmake-5f1e98e59b781e74c6e6f0f2f3368172577144f5.tar.gz
Updated from libc
Diffstat (limited to 'glob/fnmatch.c')
-rw-r--r--glob/fnmatch.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/glob/fnmatch.c b/glob/fnmatch.c
index 1ef5599..1ddea80 100644
--- a/glob/fnmatch.c
+++ b/glob/fnmatch.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1993, 1996 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License as
@@ -19,6 +19,11 @@ Cambridge, MA 02139, USA. */
#include <config.h>
#endif
+/* Enable GNU extensions in fnmatch.h. */
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE 1
+#endif
+
#include <errno.h>
#include <fnmatch.h>
#include <ctype.h>