X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=ndmp-src%2Fndmos_glib.h;h=b8e5cd0952d605cda901ea51dafc2d05031f3cec;hb=b116e9366c7b2ea2c2eb53b0a13df4090e176235;hp=e26ee1c89fdd83fc22fa50309939837f91bf904a;hpb=fd48f3e498442f0cbff5f3606c7c403d0566150e;p=debian%2Famanda diff --git a/ndmp-src/ndmos_glib.h b/ndmp-src/ndmos_glib.h index e26ee1c..b8e5cd0 100644 --- a/ndmp-src/ndmos_glib.h +++ b/ndmp-src/ndmos_glib.h @@ -52,39 +52,6 @@ #endif -/* On Solaris platforms create platform specific environment for NDMP - if not we might see issues with rpc code, specifically with 64 bit - mode. -*/ - -#ifdef __sun__ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/* On some solaris distributions INADDR_NONE is not defined - hence define here.. "in_addr_t" is defined in netinet/in.h -*/ - -#ifndef INADDR_NONE -#define INADDR_NONE ((in_addr_t)-1) -#endif - -#endif - - /* this may need to be autodetected, or NDMOS_MACRO_SET_SOCKADDR may need to be * rewritten in terms of Amanda's sockaddr-util.h. According to ndmpjoblib, * only FreeBDS has sin_len. */