summary refs log tree commit diff
path: root/posix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-01-10 06:37:41 -0800
committerUlrich Drepper <drepper@redhat.com>2010-01-10 06:37:41 -0800
commitdf06f4855e94542fd69d920f2ddfb39275993f94 (patch)
treea1d70cbb5f751ffadc49e1b09ebf5cd869a61bb0 /posix
parent18598ff1051f2cbe545822036a615d9a5dbae5c0 (diff)
downloadglibc-df06f4855e94542fd69d920f2ddfb39275993f94.tar.gz
glibc-df06f4855e94542fd69d920f2ddfb39275993f94.tar.xz
glibc-df06f4855e94542fd69d920f2ddfb39275993f94.zip
Fix glob.h for XPG7.
Diffstat (limited to 'posix')
-rw-r--r--posix/glob.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/posix/glob.h b/posix/glob.h
index 3d401f082c..89a1886b29 100644
--- a/posix/glob.h
+++ b/posix/glob.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 1991,92,95-98,2000,2001,2004 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1992,1995-1998,2000,2001,2004,2010
+   Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -27,7 +28,7 @@ __BEGIN_DECLS
 #ifndef __size_t
 # if defined __GNUC__ && __GNUC__ >= 2
 typedef __SIZE_TYPE__ __size_t;
-#  ifdef __USE_XOPEN
+#  if defined __USE_XOPEN || __USE_XOPEN2K8
 typedef __SIZE_TYPE__ size_t;
 #  endif
 # else