1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

r25718: [libreplace] if we replace types define the HAVE_<type> macro

this is needed as heimdal's roken.h also tries to replace the types

metze
(This used to be commit 8b92b81101)
This commit is contained in:
Stefan Metzmacher 2007-10-24 13:01:03 +02:00
parent 582496f5d0
commit 31569f1c88

View File

@ -202,10 +202,12 @@ const char *rep_inet_ntop(int af, const void *src, char *dst, socklen_t size);
#endif
#ifndef HAVE_SOCKLEN_T
#define HAVE_SOCKLEN_T
typedef int socklen_t;
#endif
#ifndef HAVE_SA_FAMILY_T
#define HAVE_SA_FAMILY_T
typedef unsigned short int sa_family_t;
#endif
@ -220,6 +222,7 @@ typedef unsigned short int sa_family_t;
#endif
#ifndef HAVE_STRUCT_ADDRINFO
#define HAVE_STRUCT_ADDRINFO
struct addrinfo {
int ai_flags;
int ai_family;