Revert "Revert "and added files""
[bcm963xx.git] / userapps / opensource / net-snmp / include / net-snmp / system / irix.h
1 /*
2  * irix.h
3  * 
4  * Date Created: Mon Feb 16 22:19:39 1998
5  * Author:       Simon Leinen  <simon@switch.ch>
6  */
7
8 #include "generic.h"
9
10 #undef TCP_TTL_SYMBOL
11 #define TCP_TTL_SYMBOL "tcp_ttl"
12
13 #undef IPSTAT_SYMBOL
14 #define NO_DOUBLE_ICMPSTAT
15 #undef ICMPSTAT_SYMBOL
16 #undef TCPSTAT_SYMBOL
17 #undef UDPSTAT_SYMBOL
18
19 #define _KMEMUSER 1
20
21 /*
22  * don't define _KERNEL before including sys/unistd.h 
23  */
24 #define IFNET_NEEDS_KERNEL_LATE  1
25
26 /*
27  * configure fails to detect these properly because they're broken headers 
28  */
29 #define HAVE_NETINET_TCP_H 1
30 #define HAVE_NETINET_IP_H 1
31
32 /*
33  * don't use this on irix 
34  * it has a prototype of inet_addr() which conflicts
35  * with <netinet/in.h>
36  */
37 #undef HAVE_ARPA_INET_H
38
39 /*
40  * We need a prototype of inet_ntoa() then.
41  */
42 extern const char *inet_ntoa();
43
44 #define STREAM_NEEDS_KERNEL_ISLANDS
45