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
This commit is contained in:
Yusuke Baba
2014-12-03 22:29:39 +09:00
committed by Tatsuya Kinoshita
parent eeea7ba4fe
commit 416d70d11e
4 changed files with 435 additions and 6 deletions

View File

@@ -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;