summaryrefslogtreecommitdiff
path: root/sysutils/hcidump/patches/patch-af
blob: 4806532d6efc40442c8a35d840df780d371a96b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$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) {