mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
2261f6d265
svn path=/nixpkgs/trunk/; revision=8582
22 lines
412 B
Diff
22 lines
412 B
Diff
diff --git a/splash.h b/splash.h
|
|
index 5dccfe0..eae2939 100644
|
|
--- a/splash.h
|
|
+++ b/splash.h
|
|
@@ -30,10 +30,14 @@ #endif
|
|
*/
|
|
#ifdef TARGET_KERNEL
|
|
#include <linux/fb.h>
|
|
- #include <linux/console_splash.h>
|
|
+ #ifdef CONFIG_FBSPLASH
|
|
+ #include <linux/console_splash.h>
|
|
+ #endif
|
|
#else
|
|
#include <fb.h>
|
|
- #include <console_splash.h>
|
|
+ #ifdef CONFIG_FBSPLASH
|
|
+ #include <console_splash.h>
|
|
+ #endif
|
|
#endif
|
|
|
|
/*
|