From 97aa195cf78ad62825df0e381f20df1ea227ec18 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 19 Jan 1996 10:00:23 +0000 Subject: * io/Makefile (routines): Add mknod, xstat fxstat lxstat xmknod. * sysdeps/unix/sysv/linux/ptrace.c: Use ... decl, and stdarg.h to get args. * posix/glob.c (_GNU_SOURCE): Define if undefined, so glob.h defines GNU extensions. * posix/fnmatch.c: Likewise. --- posix/fnmatch.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'posix/fnmatch.c') diff --git a/posix/fnmatch.c b/posix/fnmatch.c index 1ef5599e23..1ddea80961 100644 --- a/posix/fnmatch.c +++ b/posix/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 #endif +/* Enable GNU extensions in fnmatch.h. */ +#ifndef _GNU_SOURCE +#define _GNU_SOURCE 1 +#endif + #include #include #include -- cgit v1.2.3