summaryrefslogtreecommitdiff
path: root/zhm/zhm.h
diff options
context:
space:
mode:
authorGravatar David C. Jedlinsky <opus@mit.edu>1987-10-06 16:36:04 +0000
committerGravatar David C. Jedlinsky <opus@mit.edu>1987-10-06 16:36:04 +0000
commitc846fdeb423937fd9260ba94392e9279dfb5eb83 (patch)
tree15a4c5a8873b94d701493dd50d75d77e13c616bd /zhm/zhm.h
parentf7acf447ef157e3da0ba27021b1891b280a7a106 (diff)
Changes consistent with split of hm.c
Diffstat (limited to 'zhm/zhm.h')
-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__