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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux