Imported Upstream version 3.2.0
[debian/amanda] / ndmp-src / ndml_agent.c
index 278f087d61cedd6a59e7ffff4e804729b3749aa7..34998f361f3d421bea351406e5e078ccd7f199da 100644 (file)
 
 #include "ndmlib.h"
 
+/* On some solaris distributions INADDR_NONE is not defined,
+ * so define it here..
+ */
+
+#ifndef INADDR_NONE
+#define INADDR_NONE     ((in_addr_t)-1)
+#endif
 
 int
 ndmagent_from_str (struct ndmagent *agent, char *str)