@@ -34,7 +34,7 @@ | |||
#include "frozen/unordered_map.h" | |||
#include "fmt/format.h" | |||
#include "fmt/color.h" | |||
#include "libutil/cxx/locked_file.hxx" | |||
#include "libutil/cxx/file_util.hxx" | |||
#include "libutil/cxx/util.hxx" | |||
#ifdef HAVE_SYS_WAIT_H |
@@ -20,7 +20,7 @@ | |||
#include "contrib/ankerl/unordered_dense.h" | |||
#include "contrib/ankerl/svector.h" | |||
#include "fmt/core.h" | |||
#include "libutil/cxx/locked_file.hxx" | |||
#include "libutil/cxx/file_util.hxx" | |||
#include "hs.h" | |||
#include "logger.h" | |||
#include "worker_util.h" |
@@ -19,7 +19,7 @@ | |||
#include "symcache_item.hxx" | |||
#include "symcache_runtime.hxx" | |||
#include "unix-std.h" | |||
#include "libutil/cxx/locked_file.hxx" | |||
#include "libutil/cxx/file_util.hxx" | |||
#include "libutil/cxx/util.hxx" | |||
#include "fmt/core.h" | |||
#include "contrib/t1ha/t1ha.h" |
@@ -18,6 +18,6 @@ SET(LIBRSPAMDUTILSRC | |||
${CMAKE_CURRENT_SOURCE_DIR}/heap.c | |||
${CMAKE_CURRENT_SOURCE_DIR}/multipattern.c | |||
${CMAKE_CURRENT_SOURCE_DIR}/cxx/utf8_util.cxx | |||
${CMAKE_CURRENT_SOURCE_DIR}/cxx/locked_file.cxx) | |||
${CMAKE_CURRENT_SOURCE_DIR}/cxx/file_util.cxx) | |||
# Rspamdutil | |||
SET(RSPAMD_UTIL ${LIBRSPAMDUTILSRC} PARENT_SCOPE) |
@@ -13,7 +13,7 @@ | |||
* See the License for the specific language governing permissions and | |||
* limitations under the License. | |||
*/ | |||
#include "locked_file.hxx" | |||
#include "file_util.hxx" | |||
#include <fmt/core.h> | |||
#include "libutil/util.h" | |||
#include "libutil/unix-std.h" |
@@ -13,8 +13,8 @@ | |||
* See the License for the specific language governing permissions and | |||
* limitations under the License. | |||
*/ | |||
#ifndef RSPAMD_LOCKED_FILE_HXX | |||
#define RSPAMD_LOCKED_FILE_HXX | |||
#ifndef RSPAMD_FILE_UTIL_HXX | |||
#define RSPAMD_FILE_UTIL_HXX | |||
#pragma once | |||
#include "config.h" | |||
@@ -258,4 +258,4 @@ private: | |||
} | |||
#endif //RSPAMD_LOCKED_FILE_HXX | |||
#endif //RSPAMD_FILE_UTIL_HXX |