diff --git a/src/common/strlcpy.h b/src/common/strlcpy.h index 5ed872b96a5d21fc2f2a3040e2a2b6e3f5a35924..fe01a87d14a9c206c31d18a49b5b890b178dd632 100644 --- a/src/common/strlcpy.h +++ b/src/common/strlcpy.h @@ -1,10 +1,9 @@ #ifndef _STRLCPY_H #define _STRLCPY_H -#if HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H # include "config.h" -# if (!HAVE_STRLCPY) -# undef strlcpy +# ifndef HAVE_STRLCPY # include <sys/types.h>