From bac13114862ec8d05192f5f0f9980ee4ef78f16f Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Mon, 10 Dec 2012 17:03:36 +0100 Subject: [PATCH] Don't include "config.h" in the public header. That file is not installed. So it makes compiler error when trying to include csync.h from an external project --- src/csync.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/csync.h b/src/csync.h index cfed5e06c3..74c26900c2 100644 --- a/src/csync.h +++ b/src/csync.h @@ -35,7 +35,6 @@ #include #include #include -#include #ifdef __cplusplus extern "C" { @@ -463,8 +462,6 @@ int csync_walk_local_tree(CSYNC *ctx, csync_treewalk_visit_func *visitor, int fi */ int csync_walk_remote_tree(CSYNC *ctx, csync_treewalk_visit_func *visitor, int filter); - -#ifdef WITH_ICONV /** * @brief Set iconv source codec for filenames. * @@ -473,7 +470,6 @@ int csync_walk_remote_tree(CSYNC *ctx, csync_treewalk_visit_func *visitor, int f * @return 0 on success, or an iconv error number. */ int csync_set_iconv_codec(const char *from); -#endif /** * @brief Get the error code from the last operation.