From 2ecbed36b22e7147462018d9bcbe8e45d85a45c2 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 15 Oct 2007 10:59:50 +0200 Subject: missing stuff from samba4's libreplace metze (This used to be commit 0177158d85797e0d22c81d88175a77d4ad5ed711) --- source3/lib/replace/replace.h | 1 - source3/lib/replace/system/network.h | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'source3/lib') 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 #endif +#if !defined(HAVE_GETADDRINFO) +#include "getaddrinfo.h" +#endif + /* * The next three defines are needed to access the IPTOS_* options * on some systems. -- cgit