[Samba] 3.0.x and AIX 5.3

Jeremy Allison jra at samba.org
Thu Jan 6 19:32:48 GMT 2005


On Wed, Jan 05, 2005 at 05:14:09PM -0500, William Jojo wrote:
> 
> 
> As of AIX 5.3 sys/var.h is loaded in sys/proc.h & sys/space.h which are
> loaded through a rather lengthy debacle of nested includes. AIX 5.2 does
> not have this problem.
> 
> 
> At any rate the result when using gcc 3.3 and vac 6.x:
> 
> Compiling web/cgi.c
> web/cgi.c:33: error: redefinition of `struct var'
> web/cgi.c: In function `cgi_load_variables':
> web/cgi.c:138: error: structure has no member named `name'
> web/cgi.c:139: error: structure has no member named `value'
> ...
> 
> 
> Attached is a simple fix that just renames the "struct var" to "struct
> cgi_var". 3.0.10 and 3.0.11pre1 compile successfully on 5.3 after this
> change.

Applied, thanks !

Jeremy.


More information about the samba mailing list