diff options
author | Ted Lemon <source@isc.org> | 1996-05-16 23:12:28 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 1996-05-16 23:12:28 +0000 |
commit | b1af589d576471b8f3f6b09b37a8d4a29a21e8e6 (patch) | |
tree | 2f13a3a38e056866ccffc2094bba1396cd4e45d3 /includes/osdep.h | |
parent | 56c9de4bd7717959e64a87816acdc83867e7b85b (diff) | |
download | isc-dhcp-b1af589d576471b8f3f6b09b37a8d4a29a21e8e6.tar.gz |
Add solaris dependencies
Diffstat (limited to 'includes/osdep.h')
-rw-r--r-- | includes/osdep.h | 14 |
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 |