From 44e9816dcb224e3e8d2694776042bd3bd9ed27a1 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Sun, 26 Nov 2023 21:19:55 -0600 Subject: [PATCH] adhoc: Fix compilation on old systems MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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; ^ --- src/adhoc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/adhoc.c b/src/adhoc.c index 2b15f2bd..e787dab1 100644 --- a/src/adhoc.c +++ b/src/adhoc.c @@ -25,6 +25,7 @@ #endif #include +#include #include #include