File: implicit-function-declaration.patch

package info (click to toggle)
wise 2.4.1-28
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 39,348 kB
  • sloc: ansic: 276,376; makefile: 1,021; perl: 886; lex: 93; yacc: 81; sh: 25
file content (26 lines) | stat: -rw-r--r-- 667 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
24
25
26
Description: Fix implicit-function-declaration build errors
Author: Lance Lin <lq27267@gmail.com>
Last-Update: 2024-03-14
Forwarded: not-needed

--- a/src/HMMer2/prior.c
+++ b/src/HMMer2/prior.c
@@ -4,6 +4,7 @@
  * Support for Dirichlet prior data structure, p7prior_s.
  */
 
+#include <string.h>
 #include "config.h"
 #include "structs.h"
 #include "funcs.h" 
--- a/src/external/mott/mott_api.c
+++ b/src/external/mott/mott_api.c
@@ -1,6 +1,8 @@
 #include<stdio.h>
+#include<stdlib.h>
 #include<limits.h>
 #include<math.h>
+#include<ctype.h>
 #include"gapstat.h"
 
 double default_lambda0, default_K0, default_Kplus, default_H, default_r, default_s, default_alpha;