diff options
Diffstat (limited to 'src/tests/thread-mainloop-test.c')
-rw-r--r-- | src/tests/thread-mainloop-test.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/tests/thread-mainloop-test.c b/src/tests/thread-mainloop-test.c index be1f1ec2..7a62f85a 100644 --- a/src/tests/thread-mainloop-test.c +++ b/src/tests/thread-mainloop-test.c @@ -1,5 +1,3 @@ -/* $Id$ */ - /*** This file is part of PulseAudio. @@ -30,8 +28,8 @@ #include <pulse/timeval.h> #include <pulse/util.h> #include <pulse/thread-mainloop.h> +#include <pulse/gccmacro.h> -#include <pulsecore/gccmacro.h> #include <pulsecore/macro.h> static void tcb(pa_mainloop_api*a, pa_time_event *e, const struct timeval *tv, void *userdata) { @@ -54,7 +52,7 @@ int main(PA_GCC_UNUSED int argc, PA_GCC_UNUSED char *argv[]) { pa_threaded_mainloop_lock(m); pa_assert_se(!pa_threaded_mainloop_in_thread(m)); - + pa_gettimeofday(&tv); tv.tv_sec += 5; a->time_new(a, &tv, tcb, m); |