]> code.delx.au - pulseaudio/commitdiff
Add sys/time.h include to rtclock.c
authorMaarten Bosmans <mkbosmans@gmail.com>
Thu, 23 Jun 2011 20:21:00 +0000 (22:21 +0200)
committerColin Guthrie <colin@mageia.org>
Thu, 23 Jun 2011 23:29:47 +0000 (00:29 +0100)
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

index baa0f3a5b15a0c3e528e8f0aad2872c6b8d84a53..dd1b60091bd4676181a860ab17e8401aa5d07253 100644 (file)
 #include <config.h>
 #endif
 
+#include <sys/time.h>
+
 #include <pulse/timeval.h>
+
 #include <pulsecore/core-rtclock.h>
 
 #include "rtclock.h"