On Mon, Feb 17, 2025 at 12:05:03PM -0800, Khem Raj wrote:
> Fixes
> uxsock.c:72:2: error: call to undeclared library function 'memcpy' with type 
> 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not 
> support implicit function declarations [-Wimplicit-function-declaration]

Reviewed-by: Benjamin Marzinski <bmarz...@redhat.com>
> 
> Signed-off-by: Khem Raj <raj.k...@gmail.com>
> Cc: Benjamin Marzinski <bmarz...@redhat.com>
> Cc: Martin Wilck <mwi...@suse.com>
> ---
>  libmpathutil/uxsock.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libmpathutil/uxsock.c b/libmpathutil/uxsock.c
> index 2135476d..a474874e 100644
> --- a/libmpathutil/uxsock.c
> +++ b/libmpathutil/uxsock.c
> @@ -8,6 +8,7 @@
>  #include <stdlib.h>
>  #include <unistd.h>
>  #include <stdarg.h>
> +#include <string.h>
>  #include <fcntl.h>
>  #include <sys/ioctl.h>
>  #include <sys/types.h>


Reply via email to