projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mgetgroups: remove dependency on realloc-gnu
[gnulib.git]
/
lib
/
sys_utsname.in.h
diff --git
a/lib/sys_utsname.in.h
b/lib/sys_utsname.in.h
index
cc4dca0
..
9a577bc
100644
(file)
--- a/
lib/sys_utsname.in.h
+++ b/
lib/sys_utsname.in.h
@@
-1,5
+1,5
@@
/* Substitute for <sys/utsname.h>.
/* Substitute for <sys/utsname.h>.
- Copyright (C) 2009-201
1
Free Software Foundation, Inc.
+ Copyright (C) 2009-201
3
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
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
@@
-12,8
+12,7
@@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ along with this program; if not, see <http://www.gnu.org/licenses/>. */
#ifndef _@GUARD_PREFIX@_SYS_UTSNAME_H
#ifndef _@GUARD_PREFIX@_SYS_UTSNAME_H
@@
-23,7
+22,15
@@
@PRAGMA_COLUMNS@
#if @HAVE_SYS_UTSNAME_H@
@PRAGMA_COLUMNS@
#if @HAVE_SYS_UTSNAME_H@
+
+/* Minix 3.1.8 has a bug: <stddef.h> must be included before <sys/utsname.h>.
+ But avoid namespace pollution on glibc systems. */
+# if defined __minix && !defined __GLIBC__
+# include <stddef.h>
+# endif
+
# @INCLUDE_NEXT@ @NEXT_SYS_UTSNAME_H@
# @INCLUDE_NEXT@ @NEXT_SYS_UTSNAME_H@
+
#endif
#define _@GUARD_PREFIX@_SYS_UTSNAME_H
#endif
#define _@GUARD_PREFIX@_SYS_UTSNAME_H