Include <time.h> where necessary
authorMaarten Bosmans <mkbosmans@gmail.com>
Tue, 1 Mar 2011 17:06:28 +0000 (18:06 +0100)
committerMaarten Bosmans <mkbosmans@gmail.com>
Tue, 1 Mar 2011 17:06:28 +0000 (18:06 +0100)
src/modules/module-augment-properties.c
src/pulsecore/cli-command.c
src/pulsecore/core-scache.c
src/tests/cpulimit-test.c

index bdeee29..8044b66 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <sys/stat.h>
 #include <dirent.h>
+#include <time.h>
 
 #include <pulse/xmalloc.h>
 #include <pulse/volume.h>
index 18dfb4c..de4995e 100644 (file)
@@ -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>
index 5ec6159..1aed907 100644 (file)
@@ -32,6 +32,7 @@
 #include <sys/stat.h>
 #include <errno.h>
 #include <limits.h>
+#include <time.h>
 
 #ifdef HAVE_GLOB_H
 #include <glob.h>
index 9d0f4ee..282902a 100644 (file)
@@ -22,7 +22,7 @@
 #endif
 
 #include <assert.h>
-#include <sys/time.h>
+#include <time.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <signal.h>