summaryrefslogtreecommitdiff
path: root/www/w3m/files/patch-w3mimg_fb_fb.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/w3m/files/patch-w3mimg_fb_fb.h')
-rw-r--r--www/w3m/files/patch-w3mimg_fb_fb.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/w3m/files/patch-w3mimg_fb_fb.h b/www/w3m/files/patch-w3mimg_fb_fb.h
new file mode 100644
index 000000000000..14b3e26b5c27
--- /dev/null
+++ b/www/w3m/files/patch-w3mimg_fb_fb.h
@@ -0,0 +1,14 @@
+--- w3mimg/fb/fb.h.orig 2003-07-08 00:48:17.000000000 +0900
++++ w3mimg/fb/fb.h 2007-11-23 02:43:22.000000000 +0900
+@@ -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;