aboutsummaryrefslogtreecommitdiffstats
path: root/w3mimg/fb/fb.h
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2014-12-03 14:29:02 +0000
committerTatsuya Kinoshita <tats@debian.org>2014-12-03 14:29:02 +0000
commit9f938c4cdfd511e2f6c783cbb1226573760d2dc7 (patch)
treedf97cd8295786f19fca56299447dc87008f2dd47 /w3mimg/fb/fb.h
parentMerge branch 'bug/gdk-pixbuf' (diff)
parentSupport FreeBSD framebuffer (diff)
downloadw3m-9f938c4cdfd511e2f6c783cbb1226573760d2dc7.tar.gz
w3m-9f938c4cdfd511e2f6c783cbb1226573760d2dc7.zip
Merge branch 'feature/w3m-img-freebsd'
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;