summaryrefslogtreecommitdiff
path: root/multimedia/gstreamer1/patches/patch-plugins_tracers_gstrusage.c
blob: ea4ce321c7c8f97e680315346e9148fdb44e0d80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$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;