diff options
author | Ethan Sommer <e5ten.arch@gmail.com> | 2020-06-05 17:16:33 -0400 |
---|---|---|
committer | Ethan Sommer <e5ten.arch@gmail.com> | 2020-06-05 17:18:44 -0400 |
commit | ccdf495f7b3b979954d7bc7041ddd2216eb1026d (patch) | |
tree | a368fd48c1d9cf4b70165db607736d02dd5b13fb /include | |
parent | dca5d9bbd7eceee0952e816f9427c23844c7bfd9 (diff) |
include/tinyalsa/plugin.h: include time.h
Older versions of linux's API header sound/asound.h accidentally rely on
indirect declaration of struct timespec, which isn't reliable, so
include time.h before it to support older versions of sound/asound.h
properly
Diffstat (limited to 'include')
-rw-r--r-- | include/tinyalsa/plugin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tinyalsa/plugin.h b/include/tinyalsa/plugin.h index 91d862a..a140754 100644 --- a/include/tinyalsa/plugin.h +++ b/include/tinyalsa/plugin.h @@ -33,6 +33,7 @@ #include <stdint.h> #include <stdlib.h> #include <sys/types.h> +#include <time.h> #include <sound/asound.h> |