diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ee2dbe9da..bdf0465d2 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -126,7 +126,6 @@ set (ERESSEA_SRC summary.c travelthru.c monsters.c - pofile.c wormhole.c xmlreader.c ${SPELLS_SRC} diff --git a/src/jsonconf.c b/src/jsonconf.c index f1e781cb0..995e84af2 100644 --- a/src/jsonconf.c +++ b/src/jsonconf.c @@ -37,6 +37,7 @@ without prior permission by the authors of Eressea. #include "util/message.h" #include "util/nrmessage.h" #include "util/path.h" +#include "util/pofile.h" #include "util/strings.h" #include "util/xml.h" @@ -45,7 +46,6 @@ without prior permission by the authors of Eressea. #include "keyword.h" #include "move.h" #include "prefix.h" -#include "pofile.h" #include "skill.h" /* external libraries */ diff --git a/src/util/CMakeLists.txt b/src/util/CMakeLists.txt index dce14684a..19f9b608b 100644 --- a/src/util/CMakeLists.txt +++ b/src/util/CMakeLists.txt @@ -51,6 +51,7 @@ nrmessage.c parser.c password.c path.c +pofile.c rand.c resolve.c strings.c diff --git a/src/pofile.c b/src/util/pofile.c similarity index 98% rename from src/pofile.c rename to src/util/pofile.c index 7cb1a5460..63ee6dcc8 100644 --- a/src/pofile.c +++ b/src/util/pofile.c @@ -3,9 +3,8 @@ #endif #include "pofile.h" - -#include "util/log.h" -#include "util/strings.h" +#include "log.h" +#include "strings.h" #include #include diff --git a/src/pofile.h b/src/util/pofile.h similarity index 100% rename from src/pofile.h rename to src/util/pofile.h