summaryrefslogtreecommitdiff
path: root/hostmux/mux.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-07-11 19:40:34 +0000
committerRoland McGrath <roland@gnu.org>1999-07-11 19:40:34 +0000
commitedecb75bd918e54892b714fcb963f32bb29179f1 (patch)
treea2cadb624540c180c8f6793139e29ebd5e9bcece /hostmux/mux.c
parent7a2f8bbb83cd8b90c029e5c9bb031a45136ecd7b (diff)
1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
* mux.c: Add #include <sys/mman.h>.
Diffstat (limited to 'hostmux/mux.c')
-rw-r--r--hostmux/mux.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hostmux/mux.c b/hostmux/mux.c
index 7a44c4e8..4e3a2a7f 100644
--- a/hostmux/mux.c
+++ b/hostmux/mux.c
@@ -24,6 +24,7 @@
#include <netdb.h>
#include <sys/socket.h>
#include <arpa/inet.h>
+#include <sys/mman.h>
#include "hostmux.h"
@@ -51,7 +52,7 @@ static error_t lookup_host (struct hostmux *mux, const char *host,
(*NODE, if found, should be locked, this call should unlock DIR no matter
what.) */
error_t
-netfs_attempt_lookup (struct iouser *user, struct node *dir,
+netfs_attempt_lookup (struct iouser *user, struct node *dir,
char *name, struct node **node)
{
error_t err;
@@ -315,7 +316,7 @@ lookup_hostent (struct hostmux *mux, const char *host, struct hostent *he,
}
return 0;
-}
+}
/* Lookup the host HOST in MUX, and return the resulting node in NODE, with
an additional reference, or an error. */