aboutsummaryrefslogtreecommitdiffstats
path: root/w3mimg/fb/fb.h
diff options
context:
space:
mode:
authorYusuke Baba <babayaga1@y8.dion.ne.jp>2014-12-03 13:29:39 +0000
committerTatsuya Kinoshita <tats@debian.org>2014-12-03 13:29:39 +0000
commit416d70d11e3cece366b68c2bd8fa81bb552155b5 (patch)
treedf97cd8295786f19fca56299447dc87008f2dd47 /w3mimg/fb/fb.h
parentMerge branch 'bug/gdk-pixbuf' (diff)
downloadw3m-416d70d11e3cece366b68c2bd8fa81bb552155b5.tar.gz
w3m-416d70d11e3cece366b68c2bd8fa81bb552155b5.zip
Support FreeBSD framebuffer
Origin: http://www.ac.auone-net.jp/~baba/w3m-img/index.html Bug-FreeBSD: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=122673
Diffstat (limited to '')
-rw-r--r--w3mimg/fb/fb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/w3mimg/fb/fb.h b/w3mimg/fb/fb.h
index 1138bb0..5d86454 100644
--- a/w3mimg/fb/fb.h
+++ b/w3mimg/fb/fb.h
@@ -1,7 +1,11 @@
/* $Id: fb.h,v 1.7 2003/07/07 15:48:17 ukai Exp $ */
#ifndef fb_header
#define fb_header
+#if defined(__linux__)
#include <linux/fb.h>
+#elif defined(__FreeBSD__)
+#include <sys/fbio.h>
+#endif
typedef struct {
int num;