X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ndmp-src%2Fndml_agent.c;h=34998f361f3d421bea351406e5e078ccd7f199da;hb=0a6077b41c5db1d957dfdcc5c04954f8bb38320a;hp=278f087d61cedd6a59e7ffff4e804729b3749aa7;hpb=d5853102f67d85d8e169f9dbe973ad573306c215;p=debian%2Famanda diff --git a/ndmp-src/ndml_agent.c b/ndmp-src/ndml_agent.c index 278f087..34998f3 100644 --- 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)