summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpipe/pipe.h4
-rw-r--r--proc/wait.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/libpipe/pipe.h b/libpipe/pipe.h
index 677e0356..cc765dc6 100644
--- a/libpipe/pipe.h
+++ b/libpipe/pipe.h
@@ -1,6 +1,6 @@
/* Generic one-way pipes
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.ai.mit.edu>
@@ -21,6 +21,8 @@
#ifndef __PIPE_H__
#define __PIPE_H__
+#define EWOULDBLOCK EAGAIN /* XXX */
+
#include <cthreads.h> /* For conditions & mutexes */
#include "pq.h"
diff --git a/proc/wait.c b/proc/wait.c
index 8a42b3ef..60ec58ff 100644
--- a/proc/wait.c
+++ b/proc/wait.c
@@ -32,6 +32,8 @@
#include "process_S.h"
#include <mach/mig_errors.h>
+#define EWOULDBLOCK EAGAIN /* XXX */
+
/* Return nonzero if a `waitpid' on WAIT_PID by a process
in MYPGRP cares about the death of PID/PGRP. */
static inline int