aboutsummaryrefslogtreecommitdiff
path: root/lib/libpmc/pmu-events
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpmc/pmu-events')
-rw-r--r--lib/libpmc/pmu-events/jevents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpmc/pmu-events/jevents.c b/lib/libpmc/pmu-events/jevents.c
index 7059b31da2ba..628ed26c6f9d 100644
--- a/lib/libpmc/pmu-events/jevents.c
+++ b/lib/libpmc/pmu-events/jevents.c
@@ -1355,7 +1355,7 @@ err_out:
#include <fts.h>
static int
-#if defined(__GLIBC__) || defined(__APPLE__)
+#if defined(__linux__) || defined(__APPLE__)
fts_compare(const FTSENT **a, const FTSENT **b)
#else
fts_compare(const FTSENT * const *a, const FTSENT * const *b)