void-packages/srcpkgs/mpg123/patches/fix-alsa_timeval.patch

11 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>