about summary refs log tree commit diff
path: root/inet/inet6_rth.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/inet6_rth.c')
-rw-r--r--inet/inet6_rth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/inet/inet6_rth.c b/inet/inet6_rth.c
index 09ac6b5cfb..d53c5a5751 100644
--- a/inet/inet6_rth.c
+++ b/inet/inet6_rth.c
@@ -17,6 +17,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 #include <string.h>
+#include <sys/socket.h>
 #include <netinet/in.h>
 #include <netinet/ip6.h>