aboutsummaryrefslogtreecommitdiffstats
path: root/fbpdf.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-05-08 13:22:33 +0200
committerGerd Hoffmann <kraxel@redhat.com>2019-05-08 13:22:33 +0200
commit8fc776833f83c417d57c43f41479bc034c3863c6 (patch)
tree2fbe3cd51de3947f8fc5144d17b2bd57eccb6271 /fbpdf.c
parent63b5412f8c410694e8c67452452273ae8a9a6871 (diff)
downloadfbida-8fc776833f83c417d57c43f41479bc034c3863c6.tar.gz
portability fixes, some modernization
Diffstat (limited to 'fbpdf.c')
-rw-r--r--fbpdf.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/fbpdf.c b/fbpdf.c
index 12b0aee..995bf53 100644
--- a/fbpdf.c
+++ b/fbpdf.c
@@ -26,10 +26,6 @@
#include <sys/time.h>
#include <sys/ioctl.h>
-#include <linux/kd.h>
-#include <linux/vt.h>
-#include <linux/fb.h>
-
#include <poppler.h>
#include <cairo.h>
@@ -153,7 +149,7 @@ static void page_render(void)
/* ---------------------------------------------------------------------- */
-static jmp_buf fb_fatal_cleanup;
+static sigjmp_buf fb_fatal_cleanup;
static void catch_exit_signal(int signal)
{