]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Darwin vki header: include config.h
authorPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 29 May 2026 05:30:58 +0000 (07:30 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 29 May 2026 05:30:58 +0000 (07:30 +0200)
vki-darwin.h uses DARWIN_VERS to check for OS versions that are
missing needed definitions but it wasn't including config.h

include/vki/vki-darwin.h

index 4c2c26af821c193b404210a84b33258462825600..25f976c1a50f5b2d6633a2c73dd6c01279b49332 100644 (file)
@@ -32,6 +32,8 @@
 #ifndef __VKI_DARWIN_H
 #define __VKI_DARWIN_H
 
+#include "config.h"
+
 /* struct __darwin_ucontext isn't fully declared without
  * this definition.  It's crazy but there it is.  */
 #ifndef _XOPEN_SOURCE