diff --git a/lib/utils.c b/lib/utils.c index 009da0ce30..7f16f44466 100644 --- a/lib/utils.c +++ b/lib/utils.c @@ -34,7 +34,7 @@ #include #include #include -#if defined _WITH_LVS_ || defined _LIBIPSET_DYNAMIC_ +#if defined _WITH_LVS_ || defined _HAVE_LIBIPSET_ #include #endif #ifdef _WITH_PERF_ @@ -1097,7 +1097,7 @@ memcmp_constant_time(const void *s1, const void *s2, size_t n) * Utility functions coming from Wensong code */ -#if defined _WITH_LVS_ || defined _LIBIPSET_DYNAMIC_ +#if defined _WITH_LVS_ || defined _HAVE_LIBIPSET_ static char* get_modprobe(void) { diff --git a/lib/utils.h b/lib/utils.h index 66d64d9fbd..2232502347 100644 --- a/lib/utils.h +++ b/lib/utils.h @@ -263,7 +263,7 @@ extern int open_pipe(int [2]); #endif extern int memcmp_constant_time(const void *, const void *, size_t); -#if defined _WITH_LVS_ || defined _LIBIPSET_DYNAMIC_ +#if defined _WITH_LVS_ || defined _HAVE_LIBIPSET_ extern bool keepalived_modprobe(const char *); #endif