Re: [PATCH cifs-utils] cldap_ping.c: add missing <sys/types.h> include

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxx> writes:

> Fixes:
>
> cldap_ping.c: In function ‘read_dns_string’:
> cldap_ping.c:72:37: error: ‘u_char’ undeclared (first use in this function)
>
> when building with the musl C library, but even with glibc u_char is
> defined in <sys/types.h>, it happens to work with glibc <sys/types.h>
> gets included by another header.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxx>
> ---
>  cldap_ping.c | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Paulo Alcantara (Red Hat) <pc@xxxxxxxxxxxxx>





[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux