Fixes for netdb.h.
authorSimon Josefsson <simon@josefsson.org>
Thu, 16 Oct 2008 07:26:07 +0000 (09:26 +0200)
committerSimon Josefsson <simon@josefsson.org>
Thu, 16 Oct 2008 07:26:07 +0000 (09:26 +0200)
commit3cdd75d6d78830ecc5633df781baaf2be2c4a7e9
tree91e433f004690564b4ed187bace32875e0d4ab5f
parent0d84deee32855f0f9b7df4f5d456712793e2797e
Fixes for netdb.h.
* m4/netdb_h.m4: Assume that if netdb.h exists, it works.
* lib/netdb.in.h: Fix typo.
Reported by Bruno Haible  <bruno@clisp.org>

* lib/netdb.in.h: Include sys/socket.h for platforms without
netdb.h, to get structures like hostent on MinGW.
* modules/netdb (Depends-on): Add sys_socket.
ChangeLog
lib/netdb.in.h
m4/netdb_h.m4
modules/netdb