Moved the sockaddr_storage definition to lib/sockaddr.h and only include that

in files that actually need the struct.
This commit is contained in:
Daniel Stenberg
2005-11-11 22:04:11 +00:00
parent 6bcca3eca9
commit 37a6a0bb3e
5 changed files with 40 additions and 8 deletions

View File

@@ -94,6 +94,7 @@
#include "inet_ntop.h"
#include "select.h"
#include "parsedate.h" /* for the week day and month names */
#include "sockaddr.h" /* required for sockaddr_storage */
#if defined(HAVE_INET_NTOA_R) && !defined(HAVE_INET_NTOA_R_DECL)
#include "inet_ntoa_r.h"