pkgsrc-wip/dwepcrack/patches/patch-ad

11 lines
360 B
Plaintext

$NetBSD: patch-ad,v 1.1 2008/11/09 09:47:49 gschwarz Exp $
--- dwepcrack.h.orig 2008-11-09 10:43:23.000000000 +0100
+++ dwepcrack.h 2008-11-09 10:43:47.000000000 +0100
@@ -139,4 +139,5 @@
void getscrmaxyx(void);
int getsmallpkt(char *);
void report_crack(u_char *, int, int);
+#undef swap16 /* needed on OpenBSD */
unsigned short swap16 (unsigned short);