Skip to Content.
Sympa Menu

freetds - Re: [freetds] solaris compile warning on struct in_addr

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Reid, Roger L." <roger.reid AT dpw.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] solaris compile warning on struct in_addr
  • Date: Mon, 26 Mar 2007 11:45:21 -0400

Yes, that works.

> (Of course configure should have defined HAVE_ARPA_INET_H in your
> config.h.)

the odd thing - it *is* defined in config.h

src1> grep -i arpa include/config.h
/* Define to 1 if you have the <arpa/inet.h> header file. */
#define HAVE_ARPA_INET_H 1

And as you note, seems like no one else with Solaris has run into this, and I
assume there's plenty of Solaris users.

hmmmm...well, at this point I'll go back to seeing what I may need to do to
get freebcp or datacopy to do my exact bidding

(since my homebrew SQL Server <-> Sybase datasyncer relies a lot on Unix
diff, when there are newlines in the data it breaks: so I'm checking on Other
People's Tools again. and C is my mamaloshen...)

Thanks for the help!

roger

-----Original Message-----
From: James K. Lowden [mailto:jklowden AT freetds.org]
Subject: Re: [freetds] solaris compile warning on struct in_addr

James K. Lowden wrote:
Near the top of tds.h, add:

#if HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif /* HAVE_ARPA_INET_H */





Archive powered by MHonArc 2.6.24.

Top of Page