: Added Files:
[hdw-repos/packages.git] / demian / nmap / inet_aton.patch.deprecated
1 diff -u old/nmap.h new/nmap.h
2 --- old/nmap.h  2002-10-27 18:58:44.000000000 -0600
3 +++ new/nmap.h  2002-10-27 18:24:04.000000000 -0600
4 @@ -362,9 +362,9 @@
5  void skid_output(unsigned char *s);
6  
7  /* From glibc 2.0.6 because Solaris doesn't seem to have this function */
8 -#ifndef HAVE_INET_ATON
9 +/*#ifndef HAVE_INET_ATON
10  int inet_aton(register const char *, struct in_addr *);
11 -#endif
12 +#endif*/
13  #ifndef HAVE_SNPRINTF
14  int snprintf ( char *str, size_t n, const char *format, ... );
15  #endif
16 diff -u old/tcpip.h new/tcpip.h
17 --- old/tcpip.h 2002-10-27 18:58:59.000000000 -0600
18 +++ new/tcpip.h 2002-10-27 18:24:04.000000000 -0600
19 @@ -354,9 +354,9 @@
20  /* Hex dump */
21  int get_link_offset(char *device);
22  char *readip_pcap(pcap_t *pd, unsigned int *len, long to_usec);
23 -#ifndef HAVE_INET_ATON
24 +/*#ifndef HAVE_INET_ATON
25  int inet_aton(register const char *, struct in_addr *);
26 -#endif
27 +#endif*/
28  
29  
30  #endif /*TCPIP_H*/