[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compile error on solaris



On Wed, May 10, 2000 at 03:09:02PM -0500, Jay Balahrishna wrote:
> Hi,
> 
> I am getting the following syntax error in zmailer.h 
> when I compile on Solaris 5.5.1
> 
> [balakrna@brain]:~/mailer>gcc webUtil.c 
> In file included from webUtil.c:36:
> zmailer.h:92: parse error before `time_t'

	You need to include  <sys/time.h>  before zmailer.h.
	Then you get the  time_t defined.
	Another pre-requisite is  <stdio.h>.

> I am including zmailer.h in webUtil.c file.
> Please let me know where I am going wrong.
> 
> Thanks,
> - Jay

-- 
/Matti Aarnio	<mea@nic.funet.fi>