File: fix_implicit_declaration.patch

package info (click to toggle)
staden 2.0.0%2Bb11-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 21,584 kB
  • sloc: ansic: 240,605; tcl: 65,360; cpp: 12,854; makefile: 11,203; sh: 3,023; fortran: 2,033; perl: 63; awk: 46
file content (17 lines) | stat: -rw-r--r-- 367 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Author: Andreas Tille <tille@debian.org>
Last-Update: 2016-05-27
Description: Implicite declarations are now breaking the build.
 This patch adds explicit declarations

--- a/eba/conf.c
+++ b/eba/conf.c
@@ -4,6 +4,9 @@
 #include <io_lib/Read.h>
 #include <io_lib/misc.h>
 
+#include <math.h>
+#define min(a,b) fmin(a,b)
+
 #include "conf.h"
 
 #define WINDOW_SIZE 15