diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/dahdi/kernel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/dahdi/kernel.h b/include/dahdi/kernel.h index cae305b..1fe579b 100644 --- a/include/dahdi/kernel.h +++ b/include/dahdi/kernel.h @@ -869,4 +869,8 @@ static inline short dahdi_txtone_nextsample(struct dahdi_chan *ss) /*! Maximum audio mask */ #define DAHDI_FORMAT_AUDIO_MASK ((1 << 16) - 1) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14) +#define kzalloc(a, b) kcalloc(1, a, b) +#endif + #endif /* _DAHDI_KERNEL_H */ |