openldap/include/ac/wait.h
Kurt Zeilenga ae21b1ee94 Clean up sh commands in Makefiles (incorrect use of ';').
Fix make install problems.
1998-09-28 19:27:53 +00:00

19 lines
327 B
C

/* Generic wait.h */
#ifndef _AC_WAIT_H
#define _AC_WAIT_H
#include <sys/types.h>
#if HAVE_SYS_WAIT_H
# include <sys/wait.h>
#endif
#ifndef WEXITSTATUS
# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
#endif
#ifndef WIFEXITED
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
#endif
#endif /* _AC_WAIT_H */