mirror of
https://repo.or.cz/socat.git
synced 2025-07-10 22:13:00 +00:00
made it compile and run on SuSE5.2
This commit is contained in:
parent
75e643ad2d
commit
b2d618438a
10 changed files with 95 additions and 21 deletions
4
compat.h
4
compat.h
|
@ -602,6 +602,10 @@
|
|||
# define NETDB_INTERNAL h_NETDB_INTERNAL
|
||||
#endif
|
||||
|
||||
#ifndef INET_ADDRSTRLEN
|
||||
# define INET_ADDRSTRLEN sizeof(struct sockaddr_in)
|
||||
#endif
|
||||
|
||||
#if !HAVE_PROTOTYPE_HSTRERROR
|
||||
/* with MacOSX this is char * */
|
||||
extern const char *hstrerror(int);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue