summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-08-03 15:49:29 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-08-03 15:49:29 +0000
commitbe3a120e194b6a651bfd4108550bc9bb5fed8fc1 (patch)
treedd066066c1584154f4ea445bdf8392761b36840e
parenta741a28376242a43efc8d7c024490d0f9efd5faf (diff)
Formerly af_inet.c.~3~
-rw-r--r--pfinet/linux-inet/af_inet.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/pfinet/linux-inet/af_inet.c b/pfinet/linux-inet/af_inet.c
index 45a2eea4..ef8ee78d 100644
--- a/pfinet/linux-inet/af_inet.c
+++ b/pfinet/linux-inet/af_inet.c
@@ -1339,8 +1339,16 @@ static int inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
return(0);
}
+#else /* _HURD_ */
+static int inet_ioctl (struct socket *sock,
+ unsigned int cm,
+ unsigned long arg)
+{
+ return EOPNOTSUPP;
+}
#endif
+
/*
* This routine must find a socket given a TCP or UDP header.
* Everything is assumed to be in net order.