diff options
author | Maarten Bosmans <mkbosmans@gmail.com> | 2011-03-01 18:06:28 +0100 |
---|---|---|
committer | Maarten Bosmans <mkbosmans@gmail.com> | 2011-03-01 18:06:28 +0100 |
commit | 38d0f4d15fc39575ea52c2832463d29050f8d0cb (patch) | |
tree | 2de42f457944652ecaa8ad158a5cf6c054329b38 | |
parent | f834150aceccd753e3ac5bab9f7d64bed9993624 (diff) |
Include <time.h> where necessary
-rw-r--r-- | src/modules/module-augment-properties.c | 1 | ||||
-rw-r--r-- | src/pulsecore/cli-command.c | 1 | ||||
-rw-r--r-- | src/pulsecore/core-scache.c | 1 | ||||
-rw-r--r-- | src/tests/cpulimit-test.c | 2 |
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> |