﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
223	Compile error on AIX 5.3 and --enable-login-watch	rainer	rainer	"An error occurs when compiling {{{src/sh_login_track.c}}} because of a missing include for {{{time.h}}} (reported by M. El Nahass):

{{{
x_sh_login_track.c: At top level:
x_sh_login_track.c:841: warning: 'struct tm' declared inside parameter list
x_sh_login_track.c:841: warning: its scope is only this definition or declaration, which is probably not what you want
x_sh_login_track.c: In function 'time_to_index':
x_sh_login_track.c:844: error: dereferencing pointer to incomplete type
x_sh_login_track.c:844: error: dereferencing pointer to incomplete type
x_sh_login_track.c:844: error: dereferencing pointer to incomplete type
x_sh_login_track.c: At top level:
x_sh_login_track.c:853: warning: 'struct tm' declared inside parameter list
x_sh_login_track.c: In function 'check_host':
x_sh_login_track.c:855: warning: passing argument 1 of 'time_to_index' from incompatible pointer type
x_sh_login_track.c: In function 'sh_ltrack_check':
x_sh_login_track.c:970: error: storage size of 'ts' isn't known
x_sh_login_track.c:979: warning: implicit declaration of function 'localtime'
x_sh_login_track.c:979: error: invalid application of 'sizeof' to incomplete type 'struct tm'
x_sh_login_track.c:979: warning: passing argument 2 of 'memcpy' makes pointer from integer without a cast
x_sh_login_track.c:970: warning: unused variable 'ts'
}}}"	defect	closed	major	2.8.1	main	2.7.2	fixed		
