mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -05:00
Remove dependencies with kernel headers from instrument layer codes
Don't include kernel headers from alsa-lib codes. Still remained in instrument layer codes, but now all should be gone.
This commit is contained in:
parent
982786e9eb
commit
a98fd022fa
9 changed files with 46 additions and 64 deletions
|
|
@ -31,19 +31,6 @@
|
|||
#include <sys/stat.h>
|
||||
#include <stdio.h>
|
||||
#include "local.h"
|
||||
/* linux 2.6.9 workaround */
|
||||
#include <linux/version.h>
|
||||
#if LINUX_VERSION_CODE == KERNEL_VERSION(2,6,9)
|
||||
#include <asm/types.h>
|
||||
#ifndef DOC_HIDDEN
|
||||
#define __le64 __u64
|
||||
#define __le32 __u32
|
||||
#define __le16 __u16
|
||||
#define __be64 __u64
|
||||
#define __be32 __u32
|
||||
#define __be16 __u16
|
||||
#endif
|
||||
#endif /* linux 2.6.9 workaround */
|
||||
#include <sound/ainstr_iw.h>
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue