1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-07 17:28:15 +00:00

portability: use net/if.h instead of linux/if.h

This commit is contained in:
Roman Bogorodskiy 2013-06-13 10:26:22 +04:00 committed by Michal Privoznik
parent f753dd62f9
commit 0f81bdb2f7
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ VIR_ENUM_IMPL(virNetDevMacVLanMode, VIR_NETDEV_MACVLAN_MODE_LAST,
# include <sys/socket.h> # include <sys/socket.h>
# include <sys/ioctl.h> # include <sys/ioctl.h>
# include <linux/if.h> # include <net/if.h>
# include <linux/if_tun.h> # include <linux/if_tun.h>
/* Older kernels lacked this enum value. */ /* Older kernels lacked this enum value. */

View File

@ -49,7 +49,7 @@ VIR_ENUM_IMPL(virNetDevVPortProfileOp, VIR_NETDEV_VPORT_PROFILE_OP_LAST,
# include <sys/socket.h> # include <sys/socket.h>
# include <sys/ioctl.h> # include <sys/ioctl.h>
# include <linux/if.h> # include <net/if.h>
# include <linux/if_tun.h> # include <linux/if_tun.h>
# include "virnetlink.h" # include "virnetlink.h"