repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: add 'txn' command to cec-client. same as 'tx', but doesn't wait for ACK before...
[deb_libcec.git]
/
src
/
lib
/
platform
/
timeutils.h
diff --git
a/src/lib/platform/timeutils.h
b/src/lib/platform/timeutils.h
index 3d9b72ff2f7a491ca9eecfca2c6bbd9322b14671..1dd454fd51a8d7167375b5df69ccbd515db0a7bd 100644
(file)
--- a/
src/lib/platform/timeutils.h
+++ b/
src/lib/platform/timeutils.h
@@
-19,10
+19,13
@@
*/
#include <stdint.h>
*/
#include <stdint.h>
-#include <sys/time.h>
#if defined(__APPLE__)
#include <mach/mach_time.h>
#include <CoreVideo/CVHostTime.h>
#if defined(__APPLE__)
#include <mach/mach_time.h>
#include <CoreVideo/CVHostTime.h>
+#elif defined(__WINDOWS__)
+#include <time.h>
+#else
+#include <sys/time.h>
#endif
namespace CEC
#endif
namespace CEC