/[cvs]/ccvs/lib/wait.h
ViewVC logotype

Diff of /ccvs/lib/wait.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by scjones, Thu Jan 23 21:04:51 2003 UTC revision 1.5.20.1 by dprice, Thu Oct 20 21:33:09 2005 UTC
# Line 12  Line 12 
12     GNU General Public License for more details.  */     GNU General Public License for more details.  */
13    
14  #ifdef HAVE_SYS_WAIT_H  #ifdef HAVE_SYS_WAIT_H
15  #include <sys/types.h>          /* For pid_t. */  # include <sys/types.h>         /* For pid_t. */
16  #ifdef HAVE_SYS_RESOURCE_H  # ifdef HAVE_SYS_RESOURCE_H
17  #include <sys/resource.h>       /* for rusage */  #  include "xtime.h"            /* FreeBSD 4.11, at least, needs struct timeval
18  #endif                                   * defined before including <sys/resource.h>
19  #include <sys/wait.h>                                   */
20    #  include <sys/resource.h>     /* for rusage */
21    # endif
22    # include <sys/wait.h>
23  #endif  #endif
24    
25  #ifndef WIFSTOPPED  #ifndef WIFSTOPPED
26  #define WIFSTOPPED(w) (((w) & 0xff) == 0x7f)  #define WIFSTOPPED(w) (((w) & 0xff) == 0x7f)
27  #endif  #endif

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.5.20.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26