summaryrefslogtreecommitdiff
path: root/includes/osdep.h
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1996-05-16 23:12:28 +0000
committerTed Lemon <source@isc.org>1996-05-16 23:12:28 +0000
commitb1af589d576471b8f3f6b09b37a8d4a29a21e8e6 (patch)
tree2f13a3a38e056866ccffc2094bba1396cd4e45d3 /includes/osdep.h
parent56c9de4bd7717959e64a87816acdc83867e7b85b (diff)
downloadisc-dhcp-b1af589d576471b8f3f6b09b37a8d4a29a21e8e6.tar.gz
Add solaris dependencies
Diffstat (limited to 'includes/osdep.h')
-rw-r--r--includes/osdep.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/includes/osdep.h b/includes/osdep.h
index 77898cdc..f63239b0 100644
--- a/includes/osdep.h
+++ b/includes/osdep.h
@@ -54,8 +54,12 @@
#endif
-#ifdef sun
+#if defined (sun)
+# if defined (__svr4__)
+# include "cf/sunos5-5.h"
+# else
# include "cf/sunos4.h"
+# endif
#endif
#ifdef bsdi
@@ -70,11 +74,6 @@
# include "cf/freebsd.h"
#endif
-#ifdef sun
-# include "cf/sunos4.h"
-#endif
-
-
#ifdef ultrix
# include "cf/ultrix.h"
#endif
@@ -114,6 +113,9 @@
#ifndef jdref
# define jdref(x) (*(x))
#endif
+#ifndef jrefproto
+# define jrefproto jmp_buf *
+#endif
/* On some systems, the struct ether_header source and destinations buffers
are arrays; on others, they are structs. We assume they're arrays