[pulseaudio-discuss] [PATCH] Add sys/time.h include to rtclock.c

Maarten Bosmans mkbosmans at gmail.com
Thu Jun 23 13:21:00 PDT 2011


Cross-compiling for win32 failed after the previous #include removal.
Somehow when building for Linux the struct timeval definition got picked up elsewhere.
---
 src/pulse/rtclock.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/pulse/rtclock.c b/src/pulse/rtclock.c
index baa0f3a..dd1b600 100644
--- a/src/pulse/rtclock.c
+++ b/src/pulse/rtclock.c
@@ -23,7 +23,10 @@
 #include <config.h>
 #endif
 
+#include <sys/time.h>
+
 #include <pulse/timeval.h>
+
 #include <pulsecore/core-rtclock.h>
 
 #include "rtclock.h"
-- 
1.7.4.1



More information about the pulseaudio-discuss mailing list