summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zhm/zhm.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/zhm/zhm.h b/zhm/zhm.h
index 6731aa3..f8cc5a5 100644
--- a/zhm/zhm.h
+++ b/zhm/zhm.h
@@ -17,6 +17,9 @@
#include <zephyr/mit-copyright.h>
#include <zephyr/zephyr.h>
#include <syslog.h>
+#include <sys/socket.h>
+#include <sys/param.h>
+#include <netdb.h>
#ifdef DEBUG
#define DPR(a) fprintf(stderr, a); fflush(stderr)
@@ -39,4 +42,16 @@
extern char *malloc();
+#ifdef vax
+#define MACHINE "vax"
+#define ok
+#endif vax
+#ifdef ibm032
+#define MACHINE "rt"
+#define ok
+#endif ibm032
+#ifndef ok
+#define MACHINE "unknown"
+#endif ok
+
#endif !__HM_H__