summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.