diff options
Diffstat (limited to 'emulators/hercules/patches/patch-ad')
-rw-r--r-- | emulators/hercules/patches/patch-ad | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/emulators/hercules/patches/patch-ad b/emulators/hercules/patches/patch-ad new file mode 100644 index 00000000000..f2ecc9ddd9b --- /dev/null +++ b/emulators/hercules/patches/patch-ad @@ -0,0 +1,18 @@ +$NetBSD: patch-ad,v 1.1.1.1 2001/02/19 12:35:21 agc Exp $ + +Linux tape handling. + +--- hercifc.c 2001/02/19 12:08:31 1.1 ++++ hercifc.c 2001/02/19 12:08:42 +@@ -64,7 +64,11 @@ + sin = (struct sockaddr_in*) + (oper == SIOCSIFADDR ? &ifreq.ifr_addr + :oper == SIOCSIFDSTADDR ? &ifreq.ifr_dstaddr ++#ifdef __NetBSD__ ++ :oper == SIOCSIFNETMASK ? &ifreq.ifr_broadaddr ++#else + :oper == SIOCSIFNETMASK ? &ifreq.ifr_netmask ++#endif + :NULL); + + /* Store the IP address into the structure */ |