Fix to disable redefinition of struct ifconf from python
Signed-off-by: Sharan Santhanam <sharan.santhanam@neclab.eu>
Reviewed-by: Alexander Jung <a.jung@lancs.ac.uk>
#define IFF_VOLATILE (IFF_LOOPBACK|IFF_POINTOPOINT|IFF_BROADCAST| \
IFF_ECHO|IFF_MASTER|IFF_SLAVE|IFF_RUNNING|IFF_LOWER_UP|IFF_DORMANT)
+#if defined(_BSD_SOURCE)
struct ifconf {
int ifc_len;
union {
struct ifreq *ifcu_req;
} ifc_ifcu;
};
+#endif /* _BSD_SOURCE */
#define ifc_buf ifc_ifcu.ifcu_buf
#define ifc_req ifc_ifcu.ifcu_req