mirror of https://gitee.com/openkylin/libvirt.git
build: fix missing include
virNWFilterSnoopAdjustPoll() uses a struct pollfd but poll.h is never included nwfilter/nwfilter_dhcpsnoop.c:1297: error: 'struct pollfd' declared inside parameter list
This commit is contained in:
parent
637a1124ae
commit
14dd70cca2
1
AUTHORS
1
AUTHORS
|
@ -264,6 +264,7 @@ Patches have also been contributed by:
|
|||
Nishank Trivedi <nistrive@cisco.com>
|
||||
Jasper Lievisse Adriaanse <jasper@humppa.nl>
|
||||
Paul Eggert <eggert@cs.ucla.edu>
|
||||
Dwight Engen <dwight.engen@oracle.com>
|
||||
|
||||
[....send patches to get your name here....]
|
||||
|
||||
|
|
|
@ -47,6 +47,7 @@
|
|||
#endif
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <poll.h>
|
||||
|
||||
#include <arpa/inet.h>
|
||||
#include <netinet/ip.h>
|
||||
|
|
Loading…
Reference in New Issue