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
This commit is contained in:
Olivier Goffart 2012-12-10 17:03:36 +01:00
parent 01d2586f1e
commit bac1311486

View File

@ -35,7 +35,6 @@
#include <stdint.h>
#include <unistd.h>
#include <sys/types.h>
#include <config.h>
#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.