From 416d70d11e3cece366b68c2bd8fa81bb552155b5 Mon Sep 17 00:00:00 2001 From: Yusuke Baba Date: Wed, 3 Dec 2014 22:29:39 +0900 Subject: 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 --- w3mimg/fb/fb.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'w3mimg/fb/fb.h') 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 +#elif defined(__FreeBSD__) +#include +#endif typedef struct { int num; -- cgit v1.2.3