summary refs log tree commit diff
path: root/posix
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-01-19 10:00:23 +0000
committerRoland McGrath <roland@gnu.org>1996-01-19 10:00:23 +0000
commit97aa195cf78ad62825df0e381f20df1ea227ec18 (patch)
treed30cfc243e151bfd34c5e0786a7f92407469375a /posix
parent9b29e6f7a31d9ae5534d420137454e086b9980fc (diff)
downloadglibc-97aa195cf78ad62825df0e381f20df1ea227ec18.tar.gz
glibc-97aa195cf78ad62825df0e381f20df1ea227ec18.tar.xz
glibc-97aa195cf78ad62825df0e381f20df1ea227ec18.zip
* io/Makefile (routines): Add mknod, xstat fxstat lxstat xmknod. cvs/libc-960119
	* 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.
Diffstat (limited to 'posix')
-rw-r--r--posix/fnmatch.c7
-rw-r--r--posix/glob.c5
2 files changed, 11 insertions, 1 deletions
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 <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>
diff --git a/posix/glob.c b/posix/glob.c
index 259ac020d2..d628b84617 100644
--- a/posix/glob.c
+++ b/posix/glob.c
@@ -24,6 +24,11 @@ Cambridge, MA 02139, USA.  */
 #include <config.h>
 #endif
 
+/* Enable GNU extensions in glob.h.  */
+#ifndef _GNU_SOURCE
+#define	_GNU_SOURCE	1
+#endif
+
 #include <errno.h>
 #include <sys/types.h>
 #include <sys/stat.h>