All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH - alsa-lib 1/1] include/global.h: missing struct on FreeBSD
@ 2015-01-10 10:04 rumko
  2015-01-11 10:27 ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: rumko @ 2015-01-10 10:04 UTC (permalink / raw)
  To: patch; +Cc: Rumko, alsa-devel

From: Rumko <rumko@rumko.net>

On FreeBSD, struct timespec is not accessible through <time.h>,
but through <sys/tiespec.h>. Add specific include for that header
on that platform only.

Signed-off-by: Rumko <rumko@rumko.net>

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 <time.h>
 
+#if defined(__FreeBSD__)
+#include <sys/timespec.h>
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif
-- 
2.2.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH - alsa-lib 1/1] include/global.h: missing struct on FreeBSD
  2015-01-10 10:04 [PATCH - alsa-lib 1/1] include/global.h: missing struct on FreeBSD rumko
@ 2015-01-11 10:27 ` Takashi Iwai
  2015-01-11 11:17   ` Rumko
  0 siblings, 1 reply; 5+ messages in thread
From: Takashi Iwai @ 2015-01-11 10:27 UTC (permalink / raw)
  To: rumko; +Cc: alsa-devel

At Sat, 10 Jan 2015 11:04:59 +0100,
rumko@rumko.net wrote:
> 
> From: Rumko <rumko@rumko.net>
> 
> On FreeBSD, struct timespec is not accessible through <time.h>,
> but through <sys/tiespec.h>. Add specific include for that header
> on that platform only.
> 
> Signed-off-by: Rumko <rumko@rumko.net>

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 <time.h>
>  
> +#if defined(__FreeBSD__)
> +#include <sys/timespec.h>
> +#endif
> +
>  #ifdef __cplusplus
>  extern "C" {
>  #endif
> -- 
> 2.2.1
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH - alsa-lib 1/1] include/global.h: missing struct on FreeBSD
  2015-01-11 10:27 ` Takashi Iwai
@ 2015-01-11 11:17   ` Rumko
  2015-01-11 15:57     ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: Rumko @ 2015-01-11 11:17 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 745 bytes --]

On Sunday 11 January 2015 11:27:52 Takashi Iwai wrote:
> At Sat, 10 Jan 2015 11:04:59 +0100,
> 
> rumko@rumko.net wrote:
> > From: Rumko <rumko@rumko.net>
> > 
> > On FreeBSD, struct timespec is not accessible through <time.h>,
> > but through <sys/tiespec.h>. Add specific include for that header
> > on that platform only.
> > 
> > Signed-off-by: Rumko <rumko@rumko.net>
> 
> If you give your sign-off, please give the full real name.

Sorry about that, was just following
http://www.alsa-project.org/main/index.php/GIT_Server#Occasional_Developers
It specifically adds the -s flag to format-patch as instructions for generating 
the patchset.

Should I resubmit without it?

> thanks,
> 
> Takashi
-- 
Regards,
Rumko

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH - alsa-lib 1/1] include/global.h: missing struct on FreeBSD
  2015-01-11 11:17   ` Rumko
@ 2015-01-11 15:57     ` Takashi Iwai
  2015-01-11 16:52       ` Rumko
  0 siblings, 1 reply; 5+ messages in thread
From: Takashi Iwai @ 2015-01-11 15:57 UTC (permalink / raw)
  To: Rumko; +Cc: alsa-devel

At Sun, 11 Jan 2015 12:17:31 +0100,
Rumko wrote:
> 
> On Sunday 11 January 2015 11:27:52 Takashi Iwai wrote:
> > At Sat, 10 Jan 2015 11:04:59 +0100,
> > 
> > rumko@rumko.net wrote:
> > > From: Rumko <rumko@rumko.net>
> > > 
> > > On FreeBSD, struct timespec is not accessible through <time.h>,
> > > but through <sys/tiespec.h>. Add specific include for that header
> > > on that platform only.
> > > 
> > > Signed-off-by: Rumko <rumko@rumko.net>
> > 
> > If you give your sign-off, please give the full real name.
> 
> Sorry about that, was just following
> http://www.alsa-project.org/main/index.php/GIT_Server#Occasional_Developers
> It specifically adds the -s flag to format-patch as instructions for generating 
> the patchset.
> 
> Should I resubmit without it?

We follow the policy of Linux kernel development for the user-space
stuff in principle.  See Documentation/SubmittingPatches of Linux
driver tree, "Sign your work" section.  You need to give the real
name.


thanks,

Takashi

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH - alsa-lib 1/1] include/global.h: missing struct on FreeBSD
  2015-01-11 15:57     ` Takashi Iwai
@ 2015-01-11 16:52       ` Rumko
  0 siblings, 0 replies; 5+ messages in thread
From: Rumko @ 2015-01-11 16:52 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 446 bytes --]

On Sunday 11 January 2015 16:57:39 Takashi Iwai wrote:
<snip>
> We follow the policy of Linux kernel development for the user-space
> stuff in principle.  See Documentation/SubmittingPatches of Linux
> driver tree, "Sign your work" section.  You need to give the real
> name.

Ah, in that case, sorry to have bothered you. As far as I'm concerned, this 
thread can be closed.

Thank you

> thanks,
> 
> Takashi
-- 
Regards,
Rumko

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-01-11 16:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-10 10:04 [PATCH - alsa-lib 1/1] include/global.h: missing struct on FreeBSD rumko
2015-01-11 10:27 ` Takashi Iwai
2015-01-11 11:17   ` Rumko
2015-01-11 15:57     ` Takashi Iwai
2015-01-11 16:52       ` Rumko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.