RE: Announcing bcron version 0.08

"Ville Walveranta" <[email protected]>
Newsgroups gmane.comp.sysutils.bgware
Organization Astron-Fortis Inc
Message-ID <[email protected]>
Couple of steps forward...

---
timespec-next.c: At top level:
timespec-next.c:144: `daylight' used prior to declaration
*** Error code 1
---

I need to get some kind of POSIX manual that lists all the allowable system
calls so that I can debug some of these myself. I'm thinking of getting
"POSIX.4" by Bill Gallmeister and the 2nd edition of "Advanced Programming
in the UNIX(R) Environment" once it gets released in June. (Anyone know of
other good reference books, please let me know! :)

// Ville


-----Original Message-----
From: Bruce Guenter [mailto:[email protected]] 
Sent: Thursday, March 31, 2005 11:54
To: [email protected]
Subject: Re: [bgware] Announcing bcron version 0.08

On Thu, Mar 31, 2005 at 11:39:16AM -0600, Ville Walveranta wrote:
> It won't compile on FreeBSD 4.11-RELEASE:
> 	timespec-next.c:204: `INT_MAX' undeclared (first use in this
function)

Adding "#include <limits.h>" to the top of the file should fix it.
-- 
Bruce Guenter <[email protected]> http://em.ca/~bruceg/ http://untroubled.org/
OpenPGP key: 699980E8 / D0B7 C8DD 365D A395 29DA  2E2A E96F B2DC 6999 80E8
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.