summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/ruserpass.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-08-12 10:57:40 +0000
committerEric Andersen <andersen@codepoet.org>2002-08-12 10:57:40 +0000
commit4f352d527128fc9515be0384e1e0d0b54629d02e (patch)
tree9d056e84df73987d0bb3c36191a029cd5fcd8a0d /libc/inet/rpc/ruserpass.c
parente83faee37db132d765f3064227677150f206496e (diff)
I missed a spot.
-Erik
Diffstat (limited to 'libc/inet/rpc/ruserpass.c')
-rw-r--r--libc/inet/rpc/ruserpass.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/inet/rpc/ruserpass.c b/libc/inet/rpc/ruserpass.c
index c548bdec4..5db3e567c 100644
--- a/libc/inet/rpc/ruserpass.c
+++ b/libc/inet/rpc/ruserpass.c
@@ -118,7 +118,9 @@ int ruserpass(const char *host, const char **aname, const char **apass)
return (0);
}
/* No threads use this stream. */
+#ifdef __UCLIBC_HAS_THREADS__
__fsetlocking (cfile, FSETLOCKING_BYCALLER);
+#endif
if (gethostname(myname, sizeof(myname)) < 0)
myname[0] = '\0';
mydomain = strchr(myname, '.');