wise2/wise2-c99.patch

29 lines
805 B
Diff

No upstream bug tracking so tracked here:
https://bugzilla.redhat.com/show_bug.cgi?id=2155977
diff --git a/src/HMMer2/prior.c b/src/HMMer2/prior.c
index a40eb9c..76517e2 100644
--- a/src/HMMer2/prior.c
+++ b/src/HMMer2/prior.c
@@ -4,6 +4,8 @@
* Support for Dirichlet prior data structure, p7prior_s.
*/
+#include <string.h>
+
#include "config.h"
#include "structs.h"
#include "funcs.h"
diff --git a/src/external/mott/mott_api.c b/src/external/mott/mott_api.c
index a42ab5b..4466095 100644
--- a/src/external/mott/mott_api.c
+++ b/src/external/mott/mott_api.c
@@ -1,6 +1,8 @@
#include<stdio.h>
#include<limits.h>
#include<math.h>
+#include<stdlib.h>
+#include<ctype.h>
#include"gapstat.h"
double default_lambda0, default_K0, default_Kplus, default_H, default_r, default_s, default_alpha;