svn commit: r303978 - head/sys/netinet
Mike Karels
karels at FreeBSD.org
Thu Aug 11 23:52:25 UTC 2016
Author: karels
Date: Thu Aug 11 23:52:24 2016
New Revision: 303978
URL: https://svnweb.freebsd.org/changeset/base/303978
Log:
Fix kernel build with TCP_RFC7413 option
The current in_pcb.h includes route.h, which includes sockaddr structures.
Including <sys/socketvar.h> should require <sys/socket.h>; add it in
the appropriate place.
PR: 211385
Submitted by: Sergey Kandaurov and iron at mail.ua
Reviewed by: gnn
Approved by: gnn (mentor)
MFC after: 1 day
Modified:
head/sys/netinet/tcp_fastopen.c
Modified: head/sys/netinet/tcp_fastopen.c
==============================================================================
--- head/sys/netinet/tcp_fastopen.c Thu Aug 11 23:49:55 2016 (r303977)
+++ head/sys/netinet/tcp_fastopen.c Thu Aug 11 23:52:24 2016 (r303978)
@@ -108,6 +108,7 @@ __FBSDID("$FreeBSD$");
#include <sys/limits.h>
#include <sys/lock.h>
#include <sys/rmlock.h>
+#include <sys/socket.h>
#include <sys/socketvar.h>
#include <sys/sysctl.h>
#include <sys/systm.h>
More information about the svn-src-head
mailing list