summaryrefslogtreecommitdiff
path: root/include/net-snmp/system/svr5.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net-snmp/system/svr5.h')
-rw-r--r--include/net-snmp/system/svr5.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/net-snmp/system/svr5.h b/include/net-snmp/system/svr5.h
new file mode 100644
index 0000000..017c7c1
--- /dev/null
+++ b/include/net-snmp/system/svr5.h
@@ -0,0 +1,20 @@
+/*
+ * used to minimally build SCO UnixWare 7.1.0 using CCS 3.2 compiler - YMMV
+ */
+
+#include <net-snmp/system/generic.h>
+
+/*
+ * using CCS "cc", "configure" does not find this item
+ */
+#define HAVE_GETHOSTBYNAME 1
+
+/*
+ * lie about this next define to avoid sa_len and sa_family MACROS !!
+ */
+#define HAVE_STRUCT_SOCKADDR_SA_UNION_SA_GENERIC_SA_FAMILY2 1
+
+/*
+ * this header requires queue_t, not easily done without kernel headers
+ */
+#undef HAVE_NETINET_IN_PCB_H