mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-31 14:01:18 +08:00
Fix glob.h for XPG7.
This commit is contained in:
parent
18598ff105
commit
df06f4855e
@ -9,6 +9,8 @@
|
||||
[BZ #11125]
|
||||
* libio/stdio.h: Define va_list, off_t, and ssize_t.
|
||||
|
||||
* posix/glob.h: Define size_t.
|
||||
|
||||
2010-01-10 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* conform/conformtest.pl: For XPG7 testing the headers are supposed to
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user