Permalink
Browse files

[rbp] fixed linux compile

  • Loading branch information...
1 parent 5182b60 commit d9a4065cbaf5eae533d10cdbdac62688e2697858 @huceke huceke committed Aug 10, 2012
Showing with 8 additions and 0 deletions.
  1. +4 −0 xbmc/linux/OMXClock.cpp
  2. +4 −0 xbmc/linux/OMXClock.h
@@ -25,6 +25,8 @@
#include "system.h"
#endif
+#if defined(HAVE_OMXLIB)
+
#include "video/VideoReferenceClock.h"
#include "settings/GUISettings.h"
@@ -1059,3 +1061,5 @@ double OMXClock::NormalizeFrameduration(double frameduration)
else
return frameduration;
}
+
+#endif
@@ -22,6 +22,8 @@
#ifndef _AVCLOCK_H_
#define _AVCLOCK_H_
+#if defined(HAVE_OMXLIB)
+
#include "OMXCore.h"
#include "DVDClock.h"
#include "linux/XTimeUtils.h"
@@ -152,3 +154,5 @@ class OMXClock
};
#endif
+
+#endif

0 comments on commit d9a4065

Please sign in to comment.