]> sourceware.org Git - valgrind.git/commitdiff
Properly guard an include of <sys/auxv.h>.
authorJulian Seward <jseward@acm.org>
Fri, 19 Mar 2021 08:08:54 +0000 (09:08 +0100)
committerJulian Seward <jseward@acm.org>
Fri, 19 Mar 2021 08:09:52 +0000 (09:09 +0100)
See comments at https://bugs.kde.org/show_bug.cgi?id=413547#c11.

tests/arm64_features.c

index 916a4e24dd23b8661d491fcf740e8c1f01b925bb..ebfc774187203739f0c9bf145817c50cf8d492b8 100644 (file)
@@ -1,7 +1,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#if !defined(__APPLE__)
+#if !defined(__APPLE__) && defined(VGA_arm64)
 #include <sys/auxv.h>
 #endif
 
This page took 0.033051 seconds and 5 git commands to generate.