missing stuff from samba4's libreplace
authorStefan Metzmacher <metze@samba.org>
Mon, 15 Oct 2007 08:59:50 +0000 (10:59 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 15 Oct 2007 11:19:28 +0000 (13:19 +0200)
metze

source/lib/replace/replace.h
source/lib/replace/system/network.h

index 45902657a24013ea4aa833170019cb6e489b94ae..e42d5ff168ef864451ffc0cc81b1738ddc9719ff 100644 (file)
@@ -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
index 10e9f66bd944afe5920660c29ff3920cef26c7ed..0b0dbcb88d69c3cea0906d7fb740bf2a1bbb2806 100644 (file)
 #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.