Imported Upstream version 3.2.0
[debian/amanda] / ndmp-src / ndmos_glib.h
index e26ee1c89fdd83fc22fa50309939837f91bf904a..b8e5cd0952d605cda901ea51dafc2d05031f3cec 100644 (file)
 #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 <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/socket.h>
-#include <sys/fcntl.h>
-#include <signal.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <assert.h>
-#include <errno.h>
-#include <strings.h>
-#include <netdb.h>
-#include <ctype.h>
-
-/* 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. */