diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-02-24 08:04:43 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-02-24 08:04:43 +0000 |
commit | 9323b58f76b756cc41b6c39b48d42b697a1bd4ec (patch) | |
tree | fa61adb04ca487a090c3e8c5b4eb4b11ee4f7482 /bits | |
parent | 05d5dedc62e474ec38f2e3646037640629576313 (diff) | |
download | glibc-9323b58f76b756cc41b6c39b48d42b697a1bd4ec.tar.gz |
Update.
* posix/sys/wait.h: Pretty printing. Allow WEXITSTATUS etc be
defined elsewhere.
* stdlib/stdlib.h [__USE_XOPEN]: Define WEXITSTATUS etc.
* sysdeps/generic/bits/waitflags.h: Allow including from stdlib.h.
* sysdeps/unix/bsd/bits/waitflags.h: Likewise.
* sysdeps/unix/sysv/linux/bits/waitflags.h: Likewise.
* sysdeps/unix/sysv/sysv4/bits/waitflags.h: Likewise.
* sysdeps/generic/bits/waitstatus.h: Likewise.
Diffstat (limited to 'bits')
-rw-r--r-- | bits/waitflags.h | 4 | ||||
-rw-r--r-- | bits/waitstatus.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bits/waitflags.h b/bits/waitflags.h index 596df932b7..bd7d17de74 100644 --- a/bits/waitflags.h +++ b/bits/waitflags.h @@ -1,5 +1,5 @@ /* Definitions of flag bits for `waitpid' et al. - Copyright (C) 1992, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1992, 1996, 1997, 2000 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 @@ -17,7 +17,7 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#ifndef _SYS_WAIT_H +#if !defined _SYS_WAIT_H && !defined _STDLIB_H # error "Never include <bits/waitflags.h> directly; use <sys/wait.h> instead." #endif diff --git a/bits/waitstatus.h b/bits/waitstatus.h index 1ec55107f9..1736717e5a 100644 --- a/bits/waitstatus.h +++ b/bits/waitstatus.h @@ -1,5 +1,5 @@ /* Definitions of status bits for `wait' et al. - Copyright (C) 1992, 1994, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1992, 1994, 1996, 1997, 2000 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 @@ -17,7 +17,7 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#ifndef _SYS_WAIT_H +#if !defined _SYS_WAIT_H && !defined _STDLIB_H # error "Never include <bits/waitstatus.h> directly; use <sys/wait.h> instead." #endif |