Re: [PATCH iproute2] iproute2: fixes to compile on some systems.

2017-11-20 Thread Stephen Hemminger
On Mon, 20 Nov 2017 12:57:07 +0900 Lorenzo Colitti wrote: > 1. Put the declarations of strlcpy and strlcat inside >an #ifdef NEED_STRLCPY. Their declarations were already in a >similar #ifdef. > 2. In bpf_scm.h, include sys/un.h for struct sockaddr_un. > 3. In utils.h, include time.h for

[PATCH iproute2] iproute2: fixes to compile on some systems.

2017-11-19 Thread Lorenzo Colitti
1. Put the declarations of strlcpy and strlcat inside an #ifdef NEED_STRLCPY. Their declarations were already in a similar #ifdef. 2. In bpf_scm.h, include sys/un.h for struct sockaddr_un. 3. In utils.h, include time.h for struct timeval. Tested: builds on ubuntu 14.04 with "make clean distc