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

@@ -309,11 +309,4 @@ typedef int curl_socket_t;
#define DEBUGF(x)
#endif
#ifndef HAVE_STRUCT_SOCKADDR_STORAGE
struct sockaddr_storage
{
char buffer[256]; /* this should be big enough to fit a lot */
};
#endif
#endif /* __SETUP_H */