From: Ulrich Drepper Date: Wed, 23 Feb 2000 05:40:52 +0000 (+0000) Subject: [_XOPEN_SOURCE]: Define size_t. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c4069fb877d71ab5a793ff65cb969ace4ff86fa;p=thirdparty%2Fglibc.git [_XOPEN_SOURCE]: Define size_t. --- diff --git a/posix/glob.h b/posix/glob.h index 6a3ab1817f4..c4ad24f1724 100644 --- a/posix/glob.h +++ b/posix/glob.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 92, 95, 96, 97, 98 Free Software Foundation, Inc. +/* Copyright (C) 1991, 92, 95, 96, 97, 98, 2000 Free Software Foundation, Inc. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as @@ -49,6 +49,9 @@ extern "C" { #ifndef __size_t # if defined __GNUC__ && __GNUC__ >= 2 typedef __SIZE_TYPE__ __size_t; +# ifdef _XOPEN_SOURCE +typedef __SIZE_TYPE__ size_t; +# endif # else /* This is a guess. */ typedef unsigned long int __size_t;