Author: Kumar Appaiah
Description: Fix #461691
--- a/src/Common/delcher.cc
+++ b/src/Common/delcher.cc
@@ -9,6 +9,7 @@
#include "delcher.hh"
+#include <cstring>
const int COMMATIZE_BUFF_LEN = 50;
// Length of buffer for creating string with commas
--- a/src/Common/fasta.cc
+++ b/src/Common/fasta.cc
@@ -9,7 +9,7 @@
#include "fasta.hh"
-
+#include <cstring>
void Fasta_Print
(FILE * fp, const char * s, const char * hdr, int fasta_width)
--- a/src/Common/gene.cc
+++ b/src/Common/gene.cc
@@ -10,6 +10,7 @@
#include "delcher.hh"
#include "gene.hh"
+#include <cstring>
static const char COMPLEMENT_TABLE []
= "nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn"
--- a/src/Glimmer/anomaly.cc
+++ b/src/Glimmer/anomaly.cc
@@ -12,6 +12,7 @@
#include "anomaly.hh"
+#include <cstring>
// Global variables
--- a/src/ICM/icm.cc
+++ b/src/ICM/icm.cc
@@ -15,6 +15,8 @@
#include "icm.hh"
+#include <cstring>
+
using namespace std;
extern int Verbose;
--- a/src/Util/entropy-score.cc
+++ b/src/Util/entropy-score.cc
@@ -9,7 +9,7 @@
// regions in it by entropy distance. Results are output
// to stdout .
-
+#include <cstring>
#include "entropy-score.hh"
--- a/src/Glimmer/glimmer3.cc
+++ b/src/Glimmer/glimmer3.cc
@@ -12,11 +12,10 @@
// Copyright (c) 2006 University of Maryland Center for Bioinformatics
// & Computational Biology
-
+#include <cstring>
#include "glimmer3.hh"
-
static int For_Edwin = 0;
--- a/src/ICM/build-icm.cc
+++ b/src/ICM/build-icm.cc
@@ -13,6 +13,7 @@
#include "build-icm.hh"
+#include <cstring>
static int Genbank_Xlate_Code = 0;
// Holds the Genbank translation table number that determines
--- a/src/Util/extract.cc
+++ b/src/Util/extract.cc
@@ -9,7 +9,7 @@
// sequences specified by coordinates. The resulting sequences
// are output (in multifasta or two-string format) to stdout.
-
+#include <cstring>
#include "extract.hh"
--- a/src/Glimmer/glimmer2.cc
+++ b/src/Glimmer/glimmer2.cc
@@ -37,6 +37,7 @@
#include "delcher.h"
#include "gene.h"
+#include <cstring>
const int DEFAULT_MIN_GENE_LEN = 90;
const double DEFAULT_MIN_OLAP_PERCENT = 0.10;
--- a/src/Glimmer/long-orfs.cc
+++ b/src/Glimmer/long-orfs.cc
@@ -15,7 +15,7 @@
#include "long-orfs.hh"
-
+#include <cstring>
// External variables
--- a/src/ICM/build-fixed.cc
+++ b/src/ICM/build-fixed.cc
@@ -12,6 +12,7 @@
#include "build-fixed.hh"
+#include <cstring>
static FILE * Index_File_fp = NULL;
// File containing a list of subscripts of strings to train model
--- a/src/ICM/score-fixed.cc
+++ b/src/ICM/score-fixed.cc
@@ -8,6 +8,7 @@
#include "score-fixed.hh"
+#include <cstring>
static char * Pos_Model_Path;
// Name of file containing the positive model
--- a/src/Util/multi-extract.cc
+++ b/src/Util/multi-extract.cc
@@ -10,7 +10,7 @@
// resulting sequences are output (in multifasta or two-string format)
// to stdout.
-
+#include <cstring>
#include "multi-extract.hh"
--- a/src/Util/start-codon-distrib.cc
+++ b/src/Util/start-codon-distrib.cc
@@ -17,6 +17,7 @@
#include "start-codon-distrib.hh"
+#include <cstring>
// External variables
--- a/src/Util/uncovered.cc
+++ b/src/Util/uncovered.cc
@@ -10,7 +10,7 @@
// specified in the file named as the second command-line argument.
// Output is a multifasta file sent to stdout.
-
+#include <cstring>
#include "uncovered.hh"