Here is a small patch for one of glibc's include files (as shipped with
Red Hat 4.2). This is against glibc-devel-0.961212-5. Is this already
fixed? Who should I send such patches too?
Cheers
Andrew
diff -u /usr/include/waitflags.h{~,}
--- /usr/include/waitflags.h~ Sun Dec 22 12:27:12 1996
+++ /usr/include/waitflags.h Fri Aug 8 10:09:50 1997
@@ -21,10 +21,6 @@
#define _WAITFLAGS_H 1
-/* Bits in the third argument to `waitpid'. */
-#define WNOHANG 1 /* Don't block waiting. */
-#define WUNTRACED 2 /* Report status of stopped
children. */
-
-#define __WCLONE 0x80000000 /* Wait for cloned process. */
+#include <linux/wait.h>
#endif /* waitflags.h */