Re: [libvirt PATCH v2 19/56] src: conditionalize use of net/if.h

2020-01-28 Thread Daniel P . Berrangé
On Tue, Jan 28, 2020 at 05:42:47PM +0100, Pavel Hrdina wrote: > On Tue, Jan 28, 2020 at 01:11:00PM +, Daniel P. Berrangé wrote: > > The net/if.h is not portable so we must check for its > > existance and avoid using it when missing. Some use > > of net/if.h was redundant and could be removed.

Re: [libvirt PATCH v2 19/56] src: conditionalize use of net/if.h

2020-01-28 Thread Pavel Hrdina
On Tue, Jan 28, 2020 at 01:11:00PM +, Daniel P. Berrangé wrote: > The net/if.h is not portable so we must check for its > existance and avoid using it when missing. Some use > of net/if.h was redundant and could be removed. > > Signed-off-by: Daniel P. Berrangé > --- >

[libvirt PATCH v2 19/56] src: conditionalize use of net/if.h

2020-01-28 Thread Daniel P . Berrangé
The net/if.h is not portable so we must check for its existance and avoid using it when missing. Some use of net/if.h was redundant and could be removed. Signed-off-by: Daniel P. Berrangé --- build-aux/syntax-check.mk | 2 +- configure.ac | 1 + src/util/virnetdev.c | 1 -