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
This commit is contained in:
Mike Karels 2016-08-11 23:52:24 +00:00
parent 564fff60a0
commit bca0155f64
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=303978

View File

@ -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>