summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1998-11-30 03:18:44 +0000
committerRoland McGrath <roland@gnu.org>1998-11-30 03:18:44 +0000
commit2dc45471bf1f0c0fac4380f8f4a19a2eb6bf2230 (patch)
treedbe8c3412f2ebcddd394a8cc16629df18a90a29e
parent41a65fe0c80b9bb420234679d4cf9cdced50dcd7 (diff)
1998-11-29 Roland McGrath <roland@baalperazim.frob.com>
* hurd_types.defs: Include <bits/utsname.h> instead of <utsnamelen.h>. Reported by Mark Kettenis <kettenis@phys.uva.nl>.
-rw-r--r--hurd/hurd_types.defs7
1 files changed, 4 insertions, 3 deletions
diff --git a/hurd/hurd_types.defs b/hurd/hurd_types.defs
index 45767893..4f6c5b4c 100644
--- a/hurd/hurd_types.defs
+++ b/hurd/hurd_types.defs
@@ -1,5 +1,5 @@
/* MiG type declarations for Hurd interfaces -*- C -*-
- Copyright (C) 1993, 1994, 1995, 1996 Free Software Foundation
+ Copyright (C) 1993, 94, 95, 96, 98 Free Software Foundation, Inc.
This file is part of the GNU Hurd.
@@ -8,7 +8,7 @@ it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
-The GNU Hurd is distributed in the hope that it will be useful,
+The GNU Hurd is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
@@ -213,7 +213,8 @@ type rusage_t = struct[18] of int; /* XXX */
type flock_t = struct[5] of int;
-#include <utsnamelen.h>
+#define _SYS_UTSNAME_H /* Inhibit warning from <bits/utsname.h>. */
+#include <bits/utsname.h>
type utsname_t = struct[5 * _UTSNAME_LENGTH] of char;
import <sys/types.h>;