diff options
author | Ted Lemon <source@isc.org> | 1996-09-11 05:53:58 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 1996-09-11 05:53:58 +0000 |
commit | 3e7cd8c1ffd51cac7ff0ca5f173f0d04a24809da (patch) | |
tree | 3abb7387e70442c8625f1d143a84395155a4f36e /includes/cf | |
parent | 3be0647e2cfe3dbe4c692c9123cf267030a5c952 (diff) | |
download | isc-dhcp-3e7cd8c1ffd51cac7ff0ca5f173f0d04a24809da.tar.gz |
Support for Sun compiler on Solaris
Diffstat (limited to 'includes/cf')
-rw-r--r-- | includes/cf/sunos5-5.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/cf/sunos5-5.h b/includes/cf/sunos5-5.h index ea842a62..e7cdea62 100644 --- a/includes/cf/sunos5-5.h +++ b/includes/cf/sunos5-5.h @@ -85,7 +85,7 @@ extern int h_errno; #define _PATH_DHCPD_PID "/etc/dhcpd.pid" #endif -#ifdef __GNUC__ +#if defined (__GNUC__) || defined (__SVR4) /* Varargs stuff: use stdarg.h instead ... */ #include <stdarg.h> #define VA_DOTDOTDOT ... @@ -120,3 +120,5 @@ extern int h_errno; #define TIME time_t #define GET_TIME(x) time ((x)) + +#define random() rand() |