From: Takashi Iwai Subject: Re: [PATCH - alsa-lib 1/1] include/global.h: missing struct on FreeBSD Date: Sun, 11 Jan 2015 11:27:52 +0100 Message-ID: References: <54b0f97b.ca51c20a.1b71.ffffc3db@mx.google.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 0DCFA2604BE for ; Sun, 11 Jan 2015 11:27:53 +0100 (CET) In-Reply-To: <54b0f97b.ca51c20a.1b71.ffffc3db@mx.google.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: rumko@rumko.net Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Sat, 10 Jan 2015 11:04:59 +0100, rumko@rumko.net wrote: > > From: Rumko > > On FreeBSD, struct timespec is not accessible through , > but through . Add specific include for that header > on that platform only. > > Signed-off-by: Rumko If you give your sign-off, please give the full real name. thanks, Takashi > > diff --git a/include/global.h b/include/global.h > index 16a26dc..70be1f9 100644 > --- a/include/global.h > +++ b/include/global.h > @@ -31,6 +31,10 @@ > /* for timeval and timespec */ > #include > > +#if defined(__FreeBSD__) > +#include > +#endif > + > #ifdef __cplusplus > extern "C" { > #endif > -- > 2.2.1 >