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
This commit is contained in:
Ethan Sommer
2020-06-05 17:16:33 -04:00
parent 915488869d
commit a6fc680aeb
+1
View File
@@ -33,6 +33,7 @@
#include <stdint.h>
#include <stdlib.h>
#include <sys/types.h>
#include <time.h>
#include <sound/asound.h>