pkgsrc-ng/multimedia/gstreamer1/patches/patch-plugins_tracers_gstrusage.c
2016-11-18 22:39:22 +01:00

16 lines
454 B
C

$NetBSD: patch-plugins_tracers_gstrusage.c,v 1.1 2016/04/15 14:20:00 wiz Exp $
Check for the symbol that is used.
--- plugins/tracers/gstrusage.c.orig 2016-02-15 14:49:05.000000000 +0000
+++ plugins/tracers/gstrusage.c
@@ -159,7 +159,7 @@ do_stats (GstTracer * obj, guint64 ts)
GstClockTime tthread = G_GUINT64_CONSTANT (0);
GstClockTime dts, dtproc;
-#ifdef HAVE_CLOCK_GETTIME
+#ifdef CLOCK_PROCESS_CPUTIME_ID
{
struct timespec now;