summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-07-16 10:51:34 +0200
committerStefan Metzmacher <metze@samba.org>2009-07-16 11:41:27 +0200
commitc9fe3256d87f4fcd119dc1a3c784f2196b4ad2fd (patch)
tree36f97e7e230fae0980acacfef20e41a1d5591244
parent8cac8fd5d69f332db9e50865395d11e36639904f (diff)
downloadsamba-c9fe3256d87f4fcd119dc1a3c784f2196b4ad2fd.tar.gz
samba-c9fe3256d87f4fcd119dc1a3c784f2196b4ad2fd.tar.bz2
samba-c9fe3256d87f4fcd119dc1a3c784f2196b4ad2fd.zip
s4:heimdal_build: tell heimdal we have inet_aton()
This should fix problems on Solaris. metze
-rw-r--r--source4/heimdal_build/roken.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/heimdal_build/roken.h b/source4/heimdal_build/roken.h
index decce03522..87060cff17 100644
--- a/source4/heimdal_build/roken.h
+++ b/source4/heimdal_build/roken.h
@@ -97,6 +97,10 @@
#define HAVE_INNETGR
#endif
+#ifndef HAVE_INET_ATON
+#define HAVE_INET_ATON
+#endif
+
/* we lie about having pidfile() so that NetBSD5 can compile. Nothing
in the parts of heimdal we use actually uses pidfile(), and we
don't use it in Samba, so this works, although its ugly */