summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pfinet/linux-inet/arp.c3
-rw-r--r--pfinet/linux/inet.h6
2 files changed, 8 insertions, 1 deletions
diff --git a/pfinet/linux-inet/arp.c b/pfinet/linux-inet/arp.c
index f793b921..5e00caf7 100644
--- a/pfinet/linux-inet/arp.c
+++ b/pfinet/linux-inet/arp.c
@@ -1218,6 +1218,7 @@ static int arp_req_get(struct arpreq *req)
}
+#ifndef _HURD_
/*
* Handle an ARP layer I/O control request.
*/
@@ -1260,7 +1261,7 @@ int arp_ioctl(unsigned int cmd, void *arg)
/*NOTREACHED*/
return 0;
}
-
+#endif
/*
* Called once on startup.
diff --git a/pfinet/linux/inet.h b/pfinet/linux/inet.h
index e69de29b..27aa5521 100644
--- a/pfinet/linux/inet.h
+++ b/pfinet/linux/inet.h
@@ -0,0 +1,6 @@
+#ifndef _HACK_INET_H_
+#define _HACK_INET_H_
+
+char *in_ntoa (u_long);
+
+#endif