Re: [PATCH] define more missing types for non-Linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 03 Mar 2016 10:50:41 +0100,
Thomas Klausner wrote:
> 
> On Thu, Mar 03, 2016 at 10:32:04AM +0100, Takashi Iwai wrote:
> > Can we put this in include/type_compat.h or something like that, and
> > include it in #else block of #ifdef __linux__?
> > 
> > As a bonus, the EBADFD definition can also go to there, too.
> 
> Sure, see attached.
>  Thomas
> >From c68bfda4e5198b50b32937de669155afb423d726 Mon Sep 17 00:00:00 2001
> From: Thomas Klausner <wiz@xxxxxxxxxx>
> Date: Wed, 2 Mar 2016 23:11:54 +0100
> Subject: [PATCH] Define some types if missing.
> 
> For portability with non-Linux.
> 
> Include Linux headers on Linux only.
> ---
>  include/local.h       |  6 ++---
>  include/type_compat.h | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 69 insertions(+), 3 deletions(-)
>  create mode 100644 include/type_compat.h

You need to add it in include/Makefile.am, too.
Otherwise it'll slip from the tarball.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux