X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=ndmp-src%2Fndml_agent.c;h=34998f361f3d421bea351406e5e078ccd7f199da;hb=b116e9366c7b2ea2c2eb53b0a13df4090e176235;hp=278f087d61cedd6a59e7ffff4e804729b3749aa7;hpb=fd48f3e498442f0cbff5f3606c7c403d0566150e;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)