From: Jim Meyering Date: Sat, 15 Jun 2002 08:40:55 +0000 (+0000) Subject: For GNU libc 2.2 and newer, ensure that X-Git-Tag: FILEUTILS-4_1_9~100 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=13221a5a13712279d4f3a0186540ec58d0f5c81a;p=thirdparty%2Fcoreutils.git For GNU libc 2.2 and newer, ensure that has been included before this file. --- 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)