aboutsummaryrefslogtreecommitdiff
path: root/lib/libpmc
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2024-05-26 17:38:30 +0000
committerWarner Losh <imp@FreeBSD.org>2024-05-26 17:38:30 +0000
commit364c014d9ba052758f32d2e3e1b0c297c64ac730 (patch)
treef9afeae0b7cbf01a31710b0a2b055d4a07b56060 /lib/libpmc
parent9c975a0d90f1ee5259e53bebb48f9d7a5c2dd376 (diff)
Diffstat (limited to 'lib/libpmc')
-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)