[XForms] [patch] self-contained glcanvas.h

Angus Leeming angus.leeming at btopenworld.com
Mon May 17 05:27:08 EDT 2004


Attached is a patch that allows
	#include "glcanvas.h"
	int main() { return 0; }
to compile.

However, I'm not entirely happy with it. The line
	#include "forms.h"
pre-supposes forms.h is in a directory that is searched directly by 
the compiler. Is this a valid assumption? I seem to remember that 
forms.h is sometimes #included as <X11/forms.h>, but this may be in 
older versions of the XForms library.

Jean-Marc, all? Any advice?
Angus

ps, it appears that something similar is needed for flimage.h, but 
let's sort out one thing at a time.
A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glcanvas.diff
Type: text/x-diff
Size: 668 bytes
Desc: not available
Url : attachments/20040517/8d792ade/attachment-0010.bin 


More information about the Xforms mailing list