summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaarten Bosmans <mkbosmans@gmail.com>2011-03-01 18:06:28 +0100
committerMaarten Bosmans <mkbosmans@gmail.com>2011-03-01 18:06:28 +0100
commit38d0f4d15fc39575ea52c2832463d29050f8d0cb (patch)
tree2de42f457944652ecaa8ad158a5cf6c054329b38
parentf834150aceccd753e3ac5bab9f7d64bed9993624 (diff)
Include <time.h> where necessary
-rw-r--r--src/modules/module-augment-properties.c1
-rw-r--r--src/pulsecore/cli-command.c1
-rw-r--r--src/pulsecore/core-scache.c1
-rw-r--r--src/tests/cpulimit-test.c2
4 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/module-augment-properties.c b/src/modules/module-augment-properties.c
index bdeee291..8044b663 100644
--- a/src/modules/module-augment-properties.c
+++ b/src/modules/module-augment-properties.c
@@ -25,6 +25,7 @@
#include <sys/stat.h>
#include <dirent.h>
+#include <time.h>
#include <pulse/xmalloc.h>
#include <pulse/volume.h>
diff --git a/src/pulsecore/cli-command.c b/src/pulsecore/cli-command.c
index 18dfb4c3..de4995eb 100644
--- a/src/pulsecore/cli-command.c
+++ b/src/pulsecore/cli-command.c
@@ -32,6 +32,7 @@
#include <ltdl.h>
#include <sys/stat.h>
#include <dirent.h>
+#include <time.h>
#include <pulse/xmalloc.h>
#include <pulse/error.h>
diff --git a/src/pulsecore/core-scache.c b/src/pulsecore/core-scache.c
index 5ec6159d..1aed9077 100644
--- a/src/pulsecore/core-scache.c
+++ b/src/pulsecore/core-scache.c
@@ -32,6 +32,7 @@
#include <sys/stat.h>
#include <errno.h>
#include <limits.h>
+#include <time.h>
#ifdef HAVE_GLOB_H
#include <glob.h>
diff --git a/src/tests/cpulimit-test.c b/src/tests/cpulimit-test.c
index 9d0f4eef..282902a9 100644
--- a/src/tests/cpulimit-test.c
+++ b/src/tests/cpulimit-test.c
@@ -22,7 +22,7 @@
#endif
#include <assert.h>
-#include <sys/time.h>
+#include <time.h>
#include <stdlib.h>
#include <stdio.h>
#include <signal.h>