From: Julien Muchembled <jm@jmuchemb.eu>
Date: Thu, 4 Sep 2014 14:55:34 +0200
Subject: Fix include of <libmng.h>

<libmng.h> does not include <stdio.h> anymore but <jpeglib.h> requires this.
It's unclear if this is an issue in libmng or libjpeg, but for the moment
we need to include it ourselves.

Bug-Debian: https://bugs.debian.org/759856
---
 fbsplash/mng_callbacks.c | 1 +
 fbsplash/mng_render.c    | 1 +
 2 files changed, 2 insertions(+)

diff --git a/fbsplash/mng_callbacks.c b/fbsplash/mng_callbacks.c
index 7b9c8fc..c331a30 100644
--- a/fbsplash/mng_callbacks.c
+++ b/fbsplash/mng_callbacks.c
@@ -9,6 +9,7 @@
  *
  */
 
+#include <stdio.h>
 #include <libmng.h>
 #include <sys/time.h>
 #include <time.h>
diff --git a/fbsplash/mng_render.c b/fbsplash/mng_render.c
index 2af8bbe..72dbfc0 100644
--- a/fbsplash/mng_render.c
+++ b/fbsplash/mng_render.c
@@ -12,6 +12,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
+#include <stdio.h>
 #include <libmng.h>
 #include <unistd.h>
 #include "splash.h"
