pkgsrc/sysutils/hcidump/patches/patch-af
salo 5d435ece85 Initial import of hcidump-1.5.1: Bluetooth traffic dumper, similar to tcpdump
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.

NetBSD support added and packaged by Iain D. Hibbert, via pkgsrc-wip.
2006-07-25 16:28:47 +00:00

20 lines
408 B
Text

$NetBSD: patch-af,v 1.1.1.1 2006/07/25 16:28:47 salo Exp $
add necessary header file, and function prototype to kill compiler warnings
--- parser/cmtp.c.orig 2003-09-13 00:38:11.000000000 +0100
+++ parser/cmtp.c
@@ -30,10 +30,13 @@
*/
#include <sys/types.h>
+#include <sys/time.h>
#include <stdio.h>
#include "parser.h"
+char *bst2str(uint8_t);
+
char *bst2str(uint8_t bst)
{
switch (bst) {