On Fri, Jan 30, 2015 at 1:39 AM, Richard Hipp <d...@sqlite.org> wrote:

> your system.  Can you grep in /usr/include/*.h and /usr/include/*/*.h
> and anyplace else where header files are located, and see which file
> contains the NI_MAXHOST symbol, if any?
>

Per Wikipedia (of all places), the 3 necessary headers are already included
(netdb, socket, types).

As the OP is on Solaris, i did a bit of googling and found this file...

http://cr.openjdk.java.net/~michaelm/8028725/webrev.1/src/solaris/native/java/net/Inet6AddressImpl.c.html

has something seemingly relevant in it:

  45 #ifndef IPV6_DEFS_H
  46 #include <netinet/icmp6.h>
  47 #endif


And even more interesting:

  52 /* the initial size of our hostent buffers */
  53 #ifndef NI_MAXHOST
  54 #define NI_MAXHOST 1025
  55 #endif


implying that NI_MAXHOST may very well not be (expected to be) defined?

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to