Allow including from stdlib.h.
authorUlrich Drepper <drepper@redhat.com>
Thu, 24 Feb 2000 07:57:37 +0000 (07:57 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 24 Feb 2000 07:57:37 +0000 (07:57 +0000)
sysdeps/unix/sysv/sysv4/bits/waitflags.h

index e99dc00..841f8a3 100644 (file)
@@ -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