diff options
Diffstat (limited to 'lib/setup.h')
-rw-r--r-- | lib/setup.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/setup.h b/lib/setup.h index 4b3a50765..bf1a642f4 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -309,4 +309,11 @@ typedef int curl_socket_t; #define DEBUGF(x) #endif -#endif /* __CONFIG_H */ +#ifndef HAVE_STRUCT_SOCKADDR_STORAGE +struct sockaddr_storage + { + char buffer[256]; /* this should be big enough to fit a lot */ + }; +#endif + +#endif /* __SETUP_H */ |