From 13221a5a13712279d4f3a0186540ec58d0f5c81a Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 15 Jun 2002 08:40:55 +0000 Subject: [PATCH] For GNU libc 2.2 and newer, ensure that has been included before this file. --- src/system.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/system.h b/src/system.h index 6e11e44bdc..aae5675ea3 100644 --- a/src/system.h +++ b/src/system.h @@ -1,5 +1,5 @@ /* system-dependent definitions for fileutils, textutils, and sh-utils packages. - Copyright (C) 1989, 1991-2001 Free Software Foundation, Inc. + Copyright (C) 1989, 1991-2002 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -17,6 +17,12 @@ /* Include sys/types.h before this file. */ +#if 2 <= __GLIBC__ && 2 <= __GLIBC_MINOR__ +# if ! defined _SYS_TYPES_H +you must include before including this file +# endif +#endif + #include #if !defined(HAVE_MKFIFO) -- 2.47.3