Fix up termios.h for XPG7.
authorUlrich Drepper <drepper@redhat.com>
Tue, 12 Jan 2010 05:00:23 +0000 (21:00 -0800)
committerUlrich Drepper <drepper@redhat.com>
Tue, 12 Jan 2010 05:00:23 +0000 (21:00 -0800)
ChangeLog
termios/termios.h

index 250195841e1ca3867580995da55c93015b77372c..003377eb19b43dca84119596d75145f229ad1061 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2010-01-11  Ulrich Drepper  <drepper@redhat.com>
 
+       * termios/termios.h: Define pid_t for XPG7.
+
        * conform/data/math.h-data: Fix up for XPG6 and XPG7.
        * conform/data/tgmath.h-data: Likewise.
 
index 9698b1fbd09aff6844b17432b206cb9726b5e75a..fdde6d352678cc768c0d15b073047372cddea589 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,92,93,94,96,97,98,99, 2003 Free Software Foundation, Inc.
+/* Copyright (C) 1991-1994,1996-1999,2003,2010 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -24,7 +24,7 @@
 #define        _TERMIOS_H      1
 
 #include <features.h>
-#ifdef __USE_UNIX98
+#if defined __USE_UNIX98 || defined __USE_XOPEN2K8
 /* We need `pid_t'.  */
 # include <bits/types.h>
 # ifndef __pid_t_defined