openbsd-ports/sysutils/hcidump/patches/patch-parser_tcpip_c
jasper fe86351074 import bluez-hcidump 1.42
HCIdump reads raw HCI data coming from and going to a Bluetooth device
and prints to screen commands, events and data in a human-readable form.
Optionally, the dump can be written to a file rather than parsed, and
the dump file can be parsed in a subsequent moment.

from jcs@, with some tweaks by me
requested by uwe@
2008-11-29 09:54:49 +00:00

17 lines
465 B
Plaintext

$OpenBSD: patch-parser_tcpip_c,v 1.1.1.1 2008/11/29 09:54:49 jasper Exp $
--- parser/tcpip.c.orig Sat Feb 17 21:39:02 2007
+++ parser/tcpip.c Tue Aug 12 11:13:16 2008
@@ -31,9 +31,11 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
+#include <sys/socket.h>
-#include <net/ethernet.h>
+#include <net/if.h>
#include <netinet/in.h>
+#include <netinet/in_systm.h>
#include <netinet/ip.h>
#include <netinet/ip6.h>
#include <netinet/if_ether.h>