From 217c8ea38f1d0cc8b0a261d0f258163ab1a2d488 Mon Sep 17 00:00:00 2001 From: Kenneth Heafield Date: Fri, 21 Jun 2013 09:36:55 -0400 Subject: [PATCH 1/2] Missing header / Mehndi Bhargava --- moses/TranslationModel/PhraseDictionaryTreeAdaptor.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/moses/TranslationModel/PhraseDictionaryTreeAdaptor.h b/moses/TranslationModel/PhraseDictionaryTreeAdaptor.h index 8b387d6f8..63d2887b3 100644 --- a/moses/TranslationModel/PhraseDictionaryTreeAdaptor.h +++ b/moses/TranslationModel/PhraseDictionaryTreeAdaptor.h @@ -3,11 +3,13 @@ #ifndef moses_PhraseDictionaryTreeAdaptor_h #define moses_PhraseDictionaryTreeAdaptor_h -#include -#include "util/check.hh" #include "moses/TypeDef.h" #include "moses/TargetPhraseCollection.h" #include "moses/TranslationModel/PhraseDictionary.h" +#include "util/check.hh" + +#include +#include namespace Moses { From 718e90d0066c4bbb4b49bdacb834539ff1658f1f Mon Sep 17 00:00:00 2001 From: Kenneth Heafield Date: Fri, 21 Jun 2013 09:38:45 -0400 Subject: [PATCH 2/2] Missing header --- moses/TranslationModel/RuleTable/PhraseDictionaryOnDisk.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/moses/TranslationModel/RuleTable/PhraseDictionaryOnDisk.h b/moses/TranslationModel/RuleTable/PhraseDictionaryOnDisk.h index 328b67736..3e0e99c28 100644 --- a/moses/TranslationModel/RuleTable/PhraseDictionaryOnDisk.h +++ b/moses/TranslationModel/RuleTable/PhraseDictionaryOnDisk.h @@ -30,6 +30,10 @@ #include "OnDiskPt/PhraseNode.h" #include "util/check.hh" +#ifdef WITH_THREADS +#include +#endif + namespace Moses { class TargetPhraseCollection;