nixpkgs/pkgs/os-specific/linux/splashutils/no-fbsplash.patch
Eelco Dolstra 88f1d8af8e * Build splashutils properly.
svn path=/nixpkgs/trunk/; revision=7134
2006-11-25 23:41:53 +00:00

21 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
/*