From owner-svn-src-all@FreeBSD.ORG Tue Dec 10 22:33:03 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 744BCCDB; Tue, 10 Dec 2013 22:33:03 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 607B816D3; Tue, 10 Dec 2013 22:33:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBAMX3FX052737; Tue, 10 Dec 2013 22:33:03 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBAMX3AB052736; Tue, 10 Dec 2013 22:33:03 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201312102233.rBAMX3AB052736@svn.freebsd.org> From: Konstantin Belousov Date: Tue, 10 Dec 2013 22:33:03 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r259203 - head/sys/dev/vt X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Dec 2013 22:33:03 -0000 Author: kib Date: Tue Dec 10 22:33:02 2013 New Revision: 259203 URL: http://svnweb.freebsd.org/changeset/base/259203 Log: The opt_*.h headers must be included before any system header, except sys/cdefs.h. In particular, in case of COMPAT_43, param.h includes sys/types.h, which includes sys/select.h, which includes sys/_sigset.h. The _sigset.h customizes the provided definions based on COMPAT_43, eliminating osigset_t if symbol is not defined. The sys/proc.h is included after opt_compat.h and needs osigset_t. Move opt_compat.h inclusion into the right place. Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/vt/vt_core.c Modified: head/sys/dev/vt/vt_core.c ============================================================================== --- head/sys/dev/vt/vt_core.c Tue Dec 10 22:13:36 2013 (r259202) +++ head/sys/dev/vt/vt_core.c Tue Dec 10 22:33:02 2013 (r259203) @@ -33,10 +33,9 @@ #include __FBSDID("$FreeBSD$"); -#include - #include "opt_compat.h" +#include #include #include #include