summaryrefslogtreecommitdiff
path: root/libfshelp/lock-acquire.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-07-16 15:30:34 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-07-16 15:30:34 +0000
commit4b03e6b9b56f1d63747e03a3577c00ba61e7b9c1 (patch)
treeae47d2606008313756add58b78c4f775bae44539 /libfshelp/lock-acquire.c
parentdb433a27e7ef339cad26a1971b6de6f7c8e01fe8 (diff)
(EWOULDBLOCK): Define, to work around new libc bug.
Diffstat (limited to 'libfshelp/lock-acquire.c')
-rw-r--r--libfshelp/lock-acquire.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libfshelp/lock-acquire.c b/libfshelp/lock-acquire.c
index f8ddb7a6..9c81634a 100644
--- a/libfshelp/lock-acquire.c
+++ b/libfshelp/lock-acquire.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1993, 1994 Free Software Foundation
+ Copyright (C) 1993, 1994, 1996 Free Software Foundation
This file is part of the GNU Hurd.
@@ -21,6 +21,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "locks.h"
+#define EWOULDBLOCK EAGAIN /* XXX */
+
error_t
fshelp_acquire_lock (struct lock_box *box, int *user, struct mutex *mut,
int flags)