summaryrefslogtreecommitdiff
path: root/source3/lib/replace/system
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-10-15 10:59:50 +0200
committerStefan Metzmacher <metze@samba.org>2007-10-15 13:19:28 +0200
commit2ecbed36b22e7147462018d9bcbe8e45d85a45c2 (patch)
tree0964a1ae46f6d99fcaa6ec6352861619bd58be6c /source3/lib/replace/system
parent804396dce9112361c0e19ad2e15b9bb8dd23c378 (diff)
downloadsamba-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/replace/system')
-rw-r--r--source3/lib/replace/system/network.h4
1 files changed, 4 insertions, 0 deletions
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.