[PATCH] Fix fb.h breaking compilation of userspace programs

STALE8009d

2 messages, 2 authors, 2004-09-04 · open the first message on its own page

[PATCH] Fix fb.h breaking compilation of userspace programs

From: Michal Januszewski <spock@gentoo.org>
Date: 2004-09-04 16:35:33

Hi,

The latest changes introduced to the fb structs in linux/fb.h make
compilation of userspace programs break with:

include/linux/fb.h:305: error: field `modelist' has incomplete type

This is caused by struct list_head not being seen from userspace. The
attached patch is a possible fix for this problem.

Live long and prosper.
-- 
Michal 'Spock' Januszewski                        Gentoo Linux Developer
cell: +48504917690                         http://dev.gentoo.org/~spock/
JID: spock@im.gentoo.org               freenode: #gentoo-dev, #gentoo-pl

Re: [PATCH] Fix fb.h breaking compilation of userspace programs

From: Antonino A. Daplas <hidden>
Date: 2004-09-04 21:42:41

On Sunday 05 September 2004 00:35, Michal Januszewski wrote:
Hi,

The latest changes introduced to the fb structs in linux/fb.h make
compilation of userspace programs break with:

include/linux/fb.h:305: error: field `modelist' has incomplete type

This is caused by struct list_head not being seen from userspace. The
attached patch is a possible fix for this problem.
Thanks.  Instead of making struct list_head visible to userspace,  I'll just 
move modelist out of struct fb_monspecs.

Tony




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help