mirror of
https://github.com/LuckfoxTECH/luckfox-pico.git
synced 2026-01-19 17:59:18 +01:00
13 lines
315 B
C
13 lines
315 B
C
#ifndef _COMPAT_LINUX_SEMAPHORE_H
|
|
#define _COMPAT_LINUX_SEMAPHORE_H 1
|
|
|
|
#include <linux/version.h>
|
|
|
|
#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,25))
|
|
#include_next <linux/semaphore.h>
|
|
#else
|
|
#include <asm/semaphore.h>
|
|
#endif /* (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,25)) */
|
|
|
|
#endif /* _COMPAT_LINUX_SEMAPHORE_H */
|