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

@@ -75,6 +75,7 @@
#include "progress.h"
#include "connect.h"
#include "strerror.h"
#include "sockaddr.h" /* required for sockaddr_storage */
#define _MPRINTF_REPLACE /* use our functions only */
#include <curl/mprintf.h>