projects
/
debian
/
amanda
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 3.2.0
[debian/amanda]
/
ndmp-src
/
ndml_agent.c
diff --git
a/ndmp-src/ndml_agent.c
b/ndmp-src/ndml_agent.c
index 278f087d61cedd6a59e7ffff4e804729b3749aa7..34998f361f3d421bea351406e5e078ccd7f199da 100644
(file)
--- a/
ndmp-src/ndml_agent.c
+++ b/
ndmp-src/ndml_agent.c
@@
-51,6
+51,13
@@
#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)