summary refs log tree commit diff
path: root/sysdeps/unix/sysv/sysv4
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-02-24 08:04:43 +0000
committerUlrich Drepper <drepper@redhat.com>2000-02-24 08:04:43 +0000
commit9323b58f76b756cc41b6c39b48d42b697a1bd4ec (patch)
treefa61adb04ca487a090c3e8c5b4eb4b11ee4f7482 /sysdeps/unix/sysv/sysv4
parent05d5dedc62e474ec38f2e3646037640629576313 (diff)
downloadglibc-9323b58f76b756cc41b6c39b48d42b697a1bd4ec.tar.gz
glibc-9323b58f76b756cc41b6c39b48d42b697a1bd4ec.tar.xz
glibc-9323b58f76b756cc41b6c39b48d42b697a1bd4ec.zip
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 'sysdeps/unix/sysv/sysv4')
-rw-r--r--sysdeps/unix/sysv/sysv4/bits/waitflags.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/sysv4/bits/waitflags.h b/sysdeps/unix/sysv/sysv4/bits/waitflags.h
index e99dc00511..841f8a303b 100644
--- a/sysdeps/unix/sysv/sysv4/bits/waitflags.h
+++ b/sysdeps/unix/sysv/sysv4/bits/waitflags.h
@@ -1,5 +1,5 @@
 /* Definitions of flag bits for `waitpid' et al.
-   Copyright (C) 1993, 1996, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1993, 1996, 1997, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Brendan Kehoe (brendan@zen.org).
 
@@ -18,7 +18,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