summaryrefslogtreecommitdiffstats
path: root/media/libdav1d/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/libdav1d/config.h')
-rw-r--r--media/libdav1d/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/media/libdav1d/config.h b/media/libdav1d/config.h
index 218c8ae7f4..c7bdc7defc 100644
--- a/media/libdav1d/config.h
+++ b/media/libdav1d/config.h
@@ -46,7 +46,10 @@
// Those values are copied from the auto generated
// config file produced by stand alone dav1d build.
# define HAVE_AS_FUNC 0
+// Build with <sys/auxv.h> header only on Linux-specific systems.
+#if defined(__linux__)
# define HAVE_GETAUXVAL 1
+#endif
# define PIC 3
#endif