|
|
| version 1.3, 2003/06/19 01:54:58 | version 1.4, 2004/02/13 01:33:19 |
|---|---|
| Line 53 | Line 53 |
| * SUCH DAMAGE. | * SUCH DAMAGE. |
| * | * |
| * $FreeBSD: src/sys/dev/amr/amr_compat.h,v 1.2.2.4 2002/11/11 13:19:10 emoore Exp $ | * $FreeBSD: src/sys/dev/amr/amr_compat.h,v 1.2.2.4 2002/11/11 13:19:10 emoore Exp $ |
| * $DragonFly: src/sys/dev/amr/amr_compat.h,v 1.2 2003/06/17 04:28:22 dillon Exp $ | * $DragonFly$ |
| */ | */ |
| /* | /* |
| * Backwards compatibility support. | * Backwards compatibility support. |
| */ | */ |
| #if __FreeBSD_version < 500003 /* old buf style */ | #if defined(__DragonFly__) || __FreeBSD_version < 500003 /* old buf style */ |
| # include <sys/proc.h> | # include <sys/proc.h> |
| # include <sys/buf.h> | # include <sys/buf.h> |
| # include <machine/clock.h> | # include <machine/clock.h> |
| Line 99 | Line 99 |
| /************************************************************************ | /************************************************************************ |
| * Compatibility with older versions of FreeBSD | * Compatibility with older versions of FreeBSD |
| */ | */ |
| #if __FreeBSD_version < 440001 | #if defined(__FreeBSD__) && __FreeBSD_version < 440001 |
| typedef struct proc d_thread_t; | typedef struct proc d_thread_t; |
| #define M_ZERO 0x0008 /* bzero the allocation */ | #define M_ZERO 0x0008 /* bzero the allocation */ |
| #endif | #endif |