summary refs log tree commit diff
path: root/posix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-04-21 18:24:53 +0000
committerUlrich Drepper <drepper@redhat.com>2006-04-21 18:24:53 +0000
commit41a3975907cfb52ee62199ae8fc287164e2f1cb5 (patch)
tree662cbf01c8d4c95837931175decb1241b4a59931 /posix
parent71eea58162a1122706038afdfd59762a3e8abbe2 (diff)
downloadglibc-41a3975907cfb52ee62199ae8fc287164e2f1cb5.tar.gz
glibc-41a3975907cfb52ee62199ae8fc287164e2f1cb5.tar.xz
glibc-41a3975907cfb52ee62199ae8fc287164e2f1cb5.zip
[BZ #2534, BZ #2535]
	* posix/regex.h: Remove obsolete <sys/types.h> and special
	handling for VMS.
Diffstat (limited to 'posix')
-rw-r--r--posix/regex.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/posix/regex.h b/posix/regex.h
index f6c145d209..d787b9bff9 100644
--- a/posix/regex.h
+++ b/posix/regex.h
@@ -1,6 +1,6 @@
 /* Definitions for data structures and routines for the regular
    expression library.
-   Copyright (C) 1985,1989-93,1995-98,2000,2001,2002,2003,2005
+   Copyright (C) 1985,1989-93,1995-98,2000,2001,2002,2003,2005,2006
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -29,15 +29,6 @@
 extern "C" {
 #endif
 
-/* POSIX says that <sys/types.h> must be included (by the caller) before
-   <regex.h>.  */
-
-#if !defined _POSIX_C_SOURCE && !defined _POSIX_SOURCE && defined VMS
-/* VMS doesn't have `size_t' in <sys/types.h>, even though POSIX says it
-   should be there.  */
-# include <stddef.h>
-#endif
-
 /* The following two types have to be signed and unsigned integer type
    wide enough to hold a value of a pointer.  For most ANSI compilers
    ptrdiff_t and size_t should be likely OK.  Still size of these two