svn commit: r259203 - head/sys/dev/vt
Konstantin Belousov
kib at FreeBSD.org
Tue Dec 10 22:33:03 UTC 2013
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 <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include <sys/param.h>
-
#include "opt_compat.h"
+#include <sys/param.h>
#include <sys/consio.h>
#include <sys/eventhandler.h>
#include <sys/fbio.h>
More information about the svn-src-all
mailing list