* [PATCH] adhoc: Fix compilation on old systems
@ 2023-11-27 3:19 Denis Kenzior
2023-11-27 10:30 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Denis Kenzior @ 2023-11-27 3:19 UTC (permalink / raw)
To: gerickson, iwd; +Cc: Denis Kenzior
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 2b15f2bd4236..e787dab17ce4 100644
--- a/src/adhoc.c
+++ b/src/adhoc.c
@@ -25,6 +25,7 @@
#endif
#include <linux/rtnetlink.h>
+#include <sys/socket.h>
#include <linux/if.h>
#include <ell/ell.h>
--
2.42.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] adhoc: Fix compilation on old systems
2023-11-27 3:19 [PATCH] adhoc: Fix compilation on old systems Denis Kenzior
@ 2023-11-27 10:30 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2023-11-27 10:30 UTC (permalink / raw)
To: Denis Kenzior; +Cc: Grant Erickson, iwd
Hi Denis,
> 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(+)
patch has been applied.
Regards
Marcel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-27 10:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-27 3:19 [PATCH] adhoc: Fix compilation on old systems Denis Kenzior
2023-11-27 10:30 ` Marcel Holtmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.