aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor Holberton <taylorcholberton@gmail.com>2016-09-16 08:58:28 -0400
committerGitHub <noreply@github.com>2016-09-16 08:58:28 -0400
commit713e656a07d7530a2036e3af2972c6da226fb684 (patch)
tree56bc25eae2da77eadce49d5399723c512f1a3a9d
parentbb402603a9d5c83c91639624c5c3cb122d4c6132 (diff)
parent696c448f8a6fdf3d56733e69ca8d7ddd04c908de (diff)
Merge pull request #74 from dimkr/master
include time.h, to prevent use of struct timespec before definition
-rw-r--r--mixer.c1
-rw-r--r--pcm.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/mixer.c b/mixer.c
index f270ca8..d6f3fcd 100644
--- a/mixer.c
+++ b/mixer.c
@@ -35,6 +35,7 @@
#include <errno.h>
#include <ctype.h>
#include <limits.h>
+#include <time.h>
#include <sys/ioctl.h>
diff --git a/pcm.c b/pcm.c
index 707e5f3..c1f2212 100644
--- a/pcm.c
+++ b/pcm.c
@@ -38,6 +38,7 @@
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/time.h>
+#include <time.h>
#include <limits.h>
#include <linux/ioctl.h>