@@ -8,7 +8,7 @@
*/
#include <endian.h>
-#include "psplash.h"
+#include "psplash-fb.h"
static void
psplash_wait_for_vsync(PSplashFB *fb)
@@ -10,6 +10,9 @@
#ifndef _HAVE_PSPLASH_FB_H
#define _HAVE_PSPLASH_FB_H
+#include <linux/fb.h>
+#include "psplash.h"
+
enum RGBMode {
RGB565,
BGR565,
@@ -11,6 +11,7 @@
*/
#include "psplash.h"
+#include "psplash-fb.h"
#include "psplash-config.h"
#include "psplash-colors.h"
#include "psplash-poky-img.h"
@@ -15,7 +15,6 @@
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
-#include <linux/fb.h>
#include <linux/kd.h>
#include <linux/vt.h>
#include <signal.h>
@@ -78,7 +77,6 @@ typedef struct PSplashFont
PSplashFont;
-#include "psplash-fb.h"
#include "psplash-console.h"
#endif
psplash might not be necessary based on framebuffer, it could use DRM in future too. Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> --- psplash-fb.c | 2 +- psplash-fb.h | 3 +++ psplash.c | 1 + psplash.h | 2 -- 4 files changed, 5 insertions(+), 3 deletions(-)