We need to include <time.h> before _POSIX_SOURCE is defined, or the struct timespec won't be defined for the snd_htimestamp_t typedef. Closes #4671
10 lines
388 B
Diff
10 lines
388 B
Diff
--- src/libout123/modules/alsa.c 2016-06-30 09:04:40.000000000 +0200
|
|
+++ src/libout123/modules/alsa.c 2016-08-26 21:45:39.584130976 +0200
|
|
@@ -13,6 +13,7 @@
|
|
http://mailman.alsa-project.org/pipermail/alsa-devel/2007-June/001684.html
|
|
... seems like the conclusion was not carried through.
|
|
*/
|
|
+#include <time.h>
|
|
#define _POSIX_SOURCE
|
|
#include "out123_int.h"
|
|
#include <errno.h>
|