File: fix-implicit-declaration.patch

package info (click to toggle)
bb 1.3rc1-10
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,720 kB
  • sloc: ansic: 36,365; sh: 329; makefile: 23
file content (15 lines) | stat: -rw-r--r-- 374 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Fix implicit declaration of strlen in main.c
 Reported by the build log scanner.
Bug-Debian: https://qa.debian.org/bls/bytag/W-implicit-declaration.html
Author: Axel Beckert <abe@debian.org>

--- a/main.c
+++ b/main.c
@@ -23,6 +23,7 @@
 
 #include <ctype.h>
 #include <unistd.h>
+#include <string.h>
 #include "timers.h"
 #include "bb.h"
 #ifdef HAVE_LIBMIKMOD