File: missing-prototypes.patch

package info (click to toggle)
bluemon 1.4-12
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 292 kB
  • sloc: ansic: 2,567; makefile: 305; sh: 104; xml: 24
file content (23 lines) | stat: -rw-r--r-- 505 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Author: Andreas Beckmann <anbe@debian.org>
Description: fix building with -Werror=implicit-function-declaration

--- a/bluemon-query.c
+++ b/bluemon-query.c
@@ -25,6 +25,7 @@
 #include <unistd.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 //#define DEBUG
 
--- a/bluetooth-monitor.c
+++ b/bluetooth-monitor.c
@@ -39,6 +39,7 @@
 #include <getopt.h>
 #include <sys/types.h>
 #include <sys/ioctl.h>
+#include <sys/stat.h>
 
 #include <bluetooth/bluetooth.h>
 #include <bluetooth/hci.h>