Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 15935
b: refs/heads/master
c: 6560c34
h: refs/heads/master
i:
  15933: 8f5ff6b
  15931: 6ca48d9
  15927: 2035861
  15919: a52956e
  15903: f91178c
  15871: 96b0974
v: v3
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Jan 3, 2006
1 parent e6f45b5 commit fadc8cf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 28 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bc1ff7fc0ae6ec2d7f2202d9126901aeb3f596cd
refs/heads/master: 6560c349c501388a1f3030d02fb49e7067e6597e
5 changes: 2 additions & 3 deletions trunk/include/sound/asequencer.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@
#ifndef __SOUND_ASEQUENCER_H
#define __SOUND_ASEQUENCER_H

#ifndef __KERNEL__
#ifdef __KERNEL__
#include <linux/ioctl.h>
#endif

#include <sound/asound.h>
#endif

/** version of the sequencer */
#define SNDRV_SEQ_VERSION SNDRV_PROTOCOL_VERSION (1, 0, 1)
Expand Down
26 changes: 2 additions & 24 deletions trunk/include/sound/asound.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,8 @@
#ifndef __SOUND_ASOUND_H
#define __SOUND_ASOUND_H

#if defined(LINUX) || defined(__LINUX__) || defined(__linux__)

#include <linux/ioctl.h>

#ifdef __KERNEL__

#include <linux/ioctl.h>
#include <linux/types.h>
#include <linux/time.h>
#include <asm/byteorder.h>
Expand All @@ -43,25 +39,7 @@
#endif
#endif

#else /* !__KERNEL__ */

#include <endian.h>
#if __BYTE_ORDER == __LITTLE_ENDIAN
#define SNDRV_LITTLE_ENDIAN
#elif __BYTE_ORDER == __BIG_ENDIAN
#define SNDRV_BIG_ENDIAN
#else
#error "Unsupported endian..."
#endif

#endif /* __KERNEL **/

#endif /* LINUX */

#ifndef __KERNEL__
#include <sys/time.h>
#include <sys/types.h>
#endif
#endif /* __KERNEL__ **/

/*
* protocol version
Expand Down

0 comments on commit fadc8cf

Please sign in to comment.