From 8c4069fb877d71ab5a793ff65cb969ace4ff86fa Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 23 Feb 2000 05:40:52 +0000 Subject: [PATCH] [_XOPEN_SOURCE]: Define size_t. --- posix/glob.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; -- 2.47.2