diff --git a/src/lam/util/strncpy.h b/src/lam/util/strncpy.h index 460ecb3110..f681f9eaf1 100644 --- a/src/lam/util/strncpy.h +++ b/src/lam/util/strncpy.h @@ -10,6 +10,9 @@ /* * Use lam_strncpy() instead of strncpy() */ +#if defined(strncpy) +#undef strncpy +#endif #define strncpy lam_strncpy