mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-03 16:36:20 +03:00
net.c: Include netdb.h only if HAVE_NETDB_H is defined
Platforms that do not have getaddrinfo() most likely do not have the netdb.h include file as well. This change includes netdb.h only if HAVE_NETDB_H is defined (usually by configure).
This commit is contained in:
1 parent
933ddcbf20
commit
e0c6df7703
1 file changed
+2