mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-21 22:09:23 +01:00
adhoc: Fix compilation on old systems
CC src/adhoc.o In file included from src/adhoc.c:28:0: /usr/include/linux/if.h:234:19: error: field ‘ifru_addr’ has incomplete type struct sockaddr ifru_addr; ^ /usr/include/linux/if.h:235:19: error: field ‘ifru_dstaddr’ has incomplete type struct sockaddr ifru_dstaddr; ^ /usr/include/linux/if.h:236:19: error: field ‘ifru_broadaddr’ has incomplete type struct sockaddr ifru_broadaddr; ^ /usr/include/linux/if.h:237:19: error: field ‘ifru_netmask’ has incomplete type struct sockaddr ifru_netmask; ^ /usr/include/linux/if.h:238:20: error: field ‘ifru_hwaddr’ has incomplete type struct sockaddr ifru_hwaddr; ^
This commit is contained in:
parent
a40d5199a8
commit
44e9816dcb
@ -25,6 +25,7 @@
|
||||
#endif
|
||||
|
||||
#include <linux/rtnetlink.h>
|
||||
#include <sys/socket.h>
|
||||
#include <linux/if.h>
|
||||
|
||||
#include <ell/ell.h>
|
||||
|
Loading…
Reference in New Issue
Block a user