Commit b474f4eb authored by Ralf Wildenhues's avatar Ralf Wildenhues

Fix getloadavg.c on Tru64 4.0D.

* lib/getloadavg.c
[defined (__osf__) && (defined (__alpha) || defined (__alpha__)]:
Undef `sys' after including sys/table.h, for Tru64 4.0D.
parent f5657ed3
2007-10-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/getloadavg.c
[defined (__osf__) && (defined (__alpha) || defined (__alpha__)]:
Undef `sys' after including sys/table.h, for Tru64 4.0D.
* tests/test-i-ring.c: Work for C89.
2007-10-22 Bruno Haible <bruno@clisp.org>
/* Get the system load averages.
Copyright (C) 1985, 1986, 1987, 1988, 1989, 1991, 1992, 1993, 1994,
1995, 1997, 1999, 2000, 2003, 2004, 2005, 2006 Free Software
1995, 1997, 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software
Foundation, Inc.
NOTE: The canonical source of this file is maintained with gnulib.
......@@ -186,6 +186,8 @@
# include <sys/socket.h>
# include <net/route.h>
# include <sys/table.h>
/* Tru64 4.0D's table.h redefines sys */
# undef sys
# endif
# if defined (__osf__) && (defined (mips) || defined (__mips__))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment