diff --git a/extern/editline/src/sys.h b/extern/editline/src/sys.h index 25b14bbbd5..b4e8c45bfa 100644 --- a/extern/editline/src/sys.h +++ b/extern/editline/src/sys.h @@ -90,6 +90,15 @@ typedef void *ioctl_t; #endif #include +#include + +#ifdef strlcat +#define HAVE_STRLCAT 1 +#endif + +#ifdef strlcpy +#define HAVE_STRLCPY 1 +#endif #ifndef HAVE_STRLCAT #define strlcat libedit_strlcat