From owner-svn-src-all@FreeBSD.ORG Mon Dec 9 15:28:35 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 66A73A52; Mon, 9 Dec 2013 15:28:35 +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 5292F1322; Mon, 9 Dec 2013 15:28:35 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rB9FSZ9Z061524; Mon, 9 Dec 2013 15:28:35 GMT (envelope-from ray@svn.freebsd.org) Received: (from ray@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rB9FSYFE061522; Mon, 9 Dec 2013 15:28:34 GMT (envelope-from ray@svn.freebsd.org) Message-Id: <201312091528.rB9FSYFE061522@svn.freebsd.org> From: Aleksandr Rybalko Date: Mon, 9 Dec 2013 15:28:34 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r259130 - 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: Mon, 09 Dec 2013 15:28:35 -0000 Author: ray Date: Mon Dec 9 15:28:34 2013 New Revision: 259130 URL: http://svnweb.freebsd.org/changeset/base/259130 Log: o Compat options have to be defined before sys/ioccom.h included, so move inclusion of right after sys/param.h. o Only vt_core module use compat options, move it from common header to module. Reported by: Larry Rosenman ler at lerctr dot org Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/vt/vt.h head/sys/dev/vt/vt_core.c Modified: head/sys/dev/vt/vt.h ============================================================================== --- head/sys/dev/vt/vt.h Mon Dec 9 15:01:34 2013 (r259129) +++ head/sys/dev/vt/vt.h Mon Dec 9 15:28:34 2013 (r259130) @@ -46,7 +46,6 @@ #include #include -#include "opt_compat.h" #include "opt_syscons.h" #include "opt_splash.h" Modified: head/sys/dev/vt/vt_core.c ============================================================================== --- head/sys/dev/vt/vt_core.c Mon Dec 9 15:01:34 2013 (r259129) +++ head/sys/dev/vt/vt_core.c Mon Dec 9 15:28:34 2013 (r259130) @@ -34,6 +34,9 @@ __FBSDID("$FreeBSD$"); #include + +#include "opt_compat.h" + #include #include #include