summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2007-01-30 18:25:56 -0800
committerTrent Piepho <xyzzy@speakeasy.org>2007-01-30 18:25:56 -0800
commitea1ca65b374ae5ed835fe871a3693885ba574ad1 (patch)
treea761311f13ed590f1a826db369abc7aa4ac97006 /linux/drivers
parentfca7ef71fcb220fb867d2f6d7e2e691adfa51906 (diff)
downloadmediapointer-dvb-s2-ea1ca65b374ae5ed835fe871a3693885ba574ad1.tar.gz
mediapointer-dvb-s2-ea1ca65b374ae5ed835fe871a3693885ba574ad1.tar.bz2
include config-compat.h with gcc -include command
From: Trent Piepho <xyzzy@speakeasy.org> The kernel's config settings from autoconf.h are overridden by the file config-compat.h, which is included from compat.h. Code compiled before compat.h is included will see the kernel's settings, while code compiled after will see v4l-dvb's version of the settings. This has caused hard to track down bugs on more than one occasion. Always including compat.h first will not work, as some of the compatibility code requires that certain kernel headers be included first in order to work correctly. This patch makes config-compat.h be included second (after the kernel's autoconf.h) for every file by using a gcc "-include" command line option, the same way the kernel autoconf.h file is included. This should eliminate the problem of config-compat.h not being included in the right spot. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'linux/drivers')
0 files changed, 0 insertions, 0 deletions