diff -dur sphinx3-0.8.ORIG/src/libs3decoder/libAPI/s3_decode.c sphinx3-0.8/src/libs3decoder/libAPI/s3_decode.c --- sphinx3-0.8.ORIG/src/libs3decoder/libAPI/s3_decode.c 2008-12-31 11:27:54.000000000 -0700 +++ sphinx3-0.8/src/libs3decoder/libAPI/s3_decode.c 2009-08-26 10:57:50.691952472 -0600 @@ -150,6 +150,7 @@ ============================================================================= */ +#include <string.h> #include <time.h> #include <feat.h> #include "s3_decode.h" diff -dur sphinx3-0.8.ORIG/src/libs3decoder/libAPI/utt.c sphinx3-0.8/src/libs3decoder/libAPI/utt.c --- sphinx3-0.8.ORIG/src/libs3decoder/libAPI/utt.c 2008-12-31 11:27:54.000000000 -0700 +++ sphinx3-0.8/src/libs3decoder/libAPI/utt.c 2009-08-26 10:58:10.739950084 -0600 @@ -101,6 +101,7 @@ #include <direct.h> /* RAH, added */ #endif +#include <string.h> #include "kb.h" #include "utt.h" #include "srch.h" diff -dur sphinx3-0.8.ORIG/src/libs3decoder/libsearch/kb.c sphinx3-0.8/src/libs3decoder/libsearch/kb.c --- sphinx3-0.8.ORIG/src/libs3decoder/libsearch/kb.c 2008-12-31 11:27:56.000000000 -0700 +++ sphinx3-0.8/src/libs3decoder/libsearch/kb.c 2009-08-26 10:54:38.093005711 -0600 @@ -152,7 +152,7 @@ #include "kb.h" #include "srch.h" #include "mllr.h" - +#include <string.h> #define REPORT_KB 1 diff -dur sphinx3-0.8.ORIG/src/libs3decoder/libsearch/lextree.c sphinx3-0.8/src/libs3decoder/libsearch/lextree.c --- sphinx3-0.8.ORIG/src/libs3decoder/libsearch/lextree.c 2008-12-31 11:27:56.000000000 -0700 +++ sphinx3-0.8/src/libs3decoder/libsearch/lextree.c 2009-08-26 10:55:12.853091485 -0600 @@ -136,6 +136,7 @@ #include "lextree.h" #include "wid.h" +#include <string.h> /* * Lextree nodes, and the HMMs contained within, are cleared upon creation, and whenever diff -dur sphinx3-0.8.ORIG/src/libs3decoder/libsearch/srch.c sphinx3-0.8/src/libs3decoder/libsearch/srch.c --- sphinx3-0.8.ORIG/src/libs3decoder/libsearch/srch.c 2008-12-31 11:27:56.000000000 -0700 +++ sphinx3-0.8/src/libs3decoder/libsearch/srch.c 2009-08-26 10:55:48.605155067 -0600 @@ -217,6 +217,7 @@ #include "pio.h" #include "srch.h" #include "corpus.h" +#include <string.h> #define COMPUTE_HEURISTIC 1 #define SHOW_SENONE_SCORE_FOR_FRAME 0 diff -dur sphinx3-0.8.ORIG/src/libs3decoder/libsearch/srch_fsg.c sphinx3-0.8/src/libs3decoder/libsearch/srch_fsg.c --- sphinx3-0.8.ORIG/src/libs3decoder/libsearch/srch_fsg.c 2008-12-31 11:27:56.000000000 -0700 +++ sphinx3-0.8/src/libs3decoder/libsearch/srch_fsg.c 2009-08-26 10:56:04.988016715 -0600 @@ -81,6 +81,7 @@ #include "kbcore.h" #include "word_fsg.h" #include "fsg_search.h" +#include <string.h> static word_fsg_t *srch_FSG_read_fsgfile(void *srch, const char *fsgfilename); diff -dur sphinx3-0.8.ORIG/src/libs3decoder/libsearch/srch_time_switch_tree.c sphinx3-0.8/src/libs3decoder/libsearch/srch_time_switch_tree.c --- sphinx3-0.8.ORIG/src/libs3decoder/libsearch/srch_time_switch_tree.c 2008-12-31 11:27:56.000000000 -0700 +++ sphinx3-0.8/src/libs3decoder/libsearch/srch_time_switch_tree.c 2009-08-26 10:56:28.845010375 -0600 @@ -152,6 +152,7 @@ #include "lextree.h" #include "lm.h" #include "vithist.h" +#include <string.h> /** \file srch_time_switch_tree.h diff -dur sphinx3-0.8.ORIG/src/libs3decoder/libsearch/vithist.c sphinx3-0.8/src/libs3decoder/libsearch/vithist.c --- sphinx3-0.8.ORIG/src/libs3decoder/libsearch/vithist.c 2008-12-31 11:27:56.000000000 -0700 +++ sphinx3-0.8/src/libs3decoder/libsearch/vithist.c 2009-08-26 10:57:04.115947097 -0600 @@ -127,6 +127,7 @@ #include <listelem_alloc.h> #include <pio.h> #include <heap.h> +#include <string.h> #include "vithist.h" #include "lextree.h"