File arpwatch-gcc14.patch of Package arpwatch

Index: arpwatch-3.6/dns.c
===================================================================
--- arpwatch-3.6.orig/dns.c
+++ arpwatch-3.6/dns.c
@@ -78,6 +78,8 @@ typedef union {
 } querybuf;
 #endif
 
+extern unsigned short _getshort(unsigned char*);
+
 int
 gethinfo(char *hostname, char *cpu, int cpulen, char *os, int oslen)
 {
openSUSE Build Service is sponsored by