summaryrefslogtreecommitdiff
path: root/include/net-snmp/system/osf5.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net-snmp/system/osf5.h')
-rw-r--r--include/net-snmp/system/osf5.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/include/net-snmp/system/osf5.h b/include/net-snmp/system/osf5.h
new file mode 100644
index 0000000..32f45b8
--- /dev/null
+++ b/include/net-snmp/system/osf5.h
@@ -0,0 +1,28 @@
+#include <net-snmp/system/generic.h>
+
+#define osf4 osf4
+
+/* Needed by <sys/socket.h> to give us the correct sockaddr structures */
+#ifndef _SOCKADDR_LEN
+#define _SOCKADDR_LEN
+#endif
+
+#undef TCP_TTL_SYMBOL
+#define TCP_TTL_SYMBOL "tcp_ttl"
+
+/* var_route.c nlist symbols */
+#undef RTTABLES_SYMBOL
+#define RTTABLES_SYMBOL "rtable"
+#undef RTHASHSIZE_SYMBOL
+#define RTHASHSIZE_SYMBOL "rhash_size"
+
+#undef ARPTAB_SIZE_SYMBOL
+
+#ifndef __GNUC__
+# undef NETSNMP_ENABLE_INLINE
+# define NETSNMP_ENABLE_INLINE 0
+#endif
+
+#ifndef UINT32_MAX
+# define UINT32_MAX UINT_MAX
+#endif