diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-10-15 10:59:50 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-10-15 13:19:28 +0200 |
commit | 2ecbed36b22e7147462018d9bcbe8e45d85a45c2 (patch) | |
tree | 0964a1ae46f6d99fcaa6ec6352861619bd58be6c /source3/lib | |
parent | 804396dce9112361c0e19ad2e15b9bb8dd23c378 (diff) | |
download | samba-2ecbed36b22e7147462018d9bcbe8e45d85a45c2.tar.gz samba-2ecbed36b22e7147462018d9bcbe8e45d85a45c2.tar.bz2 samba-2ecbed36b22e7147462018d9bcbe8e45d85a45c2.zip |
missing stuff from samba4's libreplace
metze
(This used to be commit 0177158d85797e0d22c81d88175a77d4ad5ed711)
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/replace/replace.h | 1 | ||||
-rw-r--r-- | source3/lib/replace/system/network.h | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/source3/lib/replace/replace.h b/source3/lib/replace/replace.h index 45902657a2..e42d5ff168 100644 --- a/source3/lib/replace/replace.h +++ b/source3/lib/replace/replace.h @@ -97,7 +97,6 @@ void *rep_memmove(void *dest,const void *src,int size); #endif #ifndef HAVE_TIMEGM -struct tm; #define timegm rep_timegm /* prototype is in "system/time.h" */ #endif diff --git a/source3/lib/replace/system/network.h b/source3/lib/replace/system/network.h index 10e9f66bd9..0b0dbcb88d 100644 --- a/source3/lib/replace/system/network.h +++ b/source3/lib/replace/system/network.h @@ -49,6 +49,10 @@ #include <netinet/tcp.h> #endif +#if !defined(HAVE_GETADDRINFO) +#include "getaddrinfo.h" +#endif + /* * The next three defines are needed to access the IPTOS_* options * on some systems. |