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> _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"