diff options
author | Ted Lemon <source@isc.org> | 1996-05-16 23:55:42 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 1996-05-16 23:55:42 +0000 |
commit | 58a4aa848dd24b00f178c4dc20251b7e52e8c209 (patch) | |
tree | e21845e040dc8b1280e8c093da201fddb4585058 | |
parent | 019f8a12eb0cc87d3077c8e495eea13c6658a5f5 (diff) | |
download | isc-dhcp-58a4aa848dd24b00f178c4dc20251b7e52e8c209.tar.gz |
Add support for Alpha/OSF1; add default format for sprintfing BPF device name
-rw-r--r-- | includes/osdep.h | 8 | ||||
-rw-r--r-- | osdep.h | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/includes/osdep.h b/includes/osdep.h index f63239b0..30eea1ed 100644 --- a/includes/osdep.h +++ b/includes/osdep.h @@ -74,6 +74,10 @@ # include "cf/freebsd.h" #endif +#if defined (__osf__) && defined (__alpha) +# include "cf/alphaosf.h" +#endif + #ifdef ultrix # include "cf/ultrix.h" #endif @@ -126,3 +130,7 @@ #ifndef ETHER_DEST # define ETHER_DEST(x) ((x) -> ether_dhost) #endif + +#ifndef BPF_FORMAT +# define BPF_FORMAT "/dev/bpf%d" +#endif @@ -74,6 +74,10 @@ # include "cf/freebsd.h" #endif +#if defined (__osf__) && defined (__alpha) +# include "cf/alphaosf.h" +#endif + #ifdef ultrix # include "cf/ultrix.h" #endif @@ -126,3 +130,7 @@ #ifndef ETHER_DEST # define ETHER_DEST(x) ((x) -> ether_dhost) #endif + +#ifndef BPF_FORMAT +# define BPF_FORMAT "/dev/bpf%d" +#endif |