Problem compiling under FreeBSD-4.2

Carter Bullard carter at qosient.com
Sat Jan 27 23:41:31 EST 2001


Hey Mark,
   Thanks, I've combined the __FreeBSD__ with the
HAVE_SOLARIS statement for limits.h.  Hopefully
that will do it.  Any sense that this will be needed
for __NetBSD__?

Carter

Carter Bullard
QoSient, LLC
300 E. 56th Street, Suite 18K
New York, New York  10022

carter at qosient.com
Phone +1 212 813-9426
Fax   +1 212 813-9426

> -----Original Message-----
> From: Mark Buchanan [mailto:markbuchanan at home.com]
> Sent: Saturday, January 27, 2001 9:31 PM
> To: Carter Bullard
> Subject: Re: Problem compiling under FreeBSD-4.2
> 
> 
> Ok, after doing some more looking, it looks like you can just take in
> <limits.h> and it will bring in all other needed variable...  For
> strtol() what I can see is: <stdlib.h> and <limits.h> and possibly
> <sys/types.h> if you use strtoq()...  That's for FreeBSD-4.2...
> Mark
> 
> Carter Bullard wrote:
> > 
> > Hey Mark,
> >    The reason we need this is because I switched from using
> > atoi() to strtol() to parse some strings for configuration.
> > On Linux, we pick up LONG_MAX, which is a strtol() return
> > value, with #include <stdlib.h>, but on Solaris,
> > and the BSD's we don't.
> > 
> > What include files are they suggesting that we use to
> > get support for strtol()?
> > 
> > Carter
> > 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3699 bytes
Desc: not available
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20010127/9f2a8db6/attachment.bin>


More information about the argus mailing list