diff mbox series

[4/4] examples: Fix compilation on old systems

Message ID 20231108234544.1050199-4-denkenz@gmail.com (mailing list archive)
State New
Headers show
Series [1/4] rtnl: Fixup rtnetlink includes | expand

Checks

Context Check Description
tedd_an/pre-ci_am success Success

Commit Message

Denis Kenzior Nov. 8, 2023, 11:45 p.m. UTC
---
 examples/dhcp6-client.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/examples/dhcp6-client.c b/examples/dhcp6-client.c
index d566d6965a0f..5992a4a1ecb0 100644
--- a/examples/dhcp6-client.c
+++ b/examples/dhcp6-client.c
@@ -12,6 +12,7 @@ 
 #define _GNU_SOURCE
 #include <stdio.h>
 #include <signal.h>
+#include <sys/socket.h>
 #include <linux/if_arp.h>
 #include <arpa/inet.h>