From b9f6a84ea383d811216de38219472214963c10b2 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Thu, 2 Oct 2025 10:48:04 +1000 Subject: [PATCH] Pass COMPATINCLUDES down to openbsd-compat too. Fixes build on Solaris, AIX and probably others. --- openbsd-compat/Makefile.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openbsd-compat/Makefile.in b/openbsd-compat/Makefile.in index 5bce2b38b..53c87db6d 100644 --- a/openbsd-compat/Makefile.in +++ b/openbsd-compat/Makefile.in @@ -3,12 +3,14 @@ piddir=@piddir@ srcdir=@srcdir@ top_srcdir=@top_srcdir@ +BUILDDIR=@abs_top_builddir@ VPATH=@srcdir@ CC=@CC@ LD=@LD@ CFLAGS=@CFLAGS@ CFLAGS_NOPIE=@CFLAGS_NOPIE@ -CPPFLAGS=-I. -I.. -I$(srcdir) -I$(srcdir)/.. @CPPFLAGS@ @DEFS@ +COMPATINCLUDES="$(BUILDDIR)/@COMPATINCLUDES@" +CPPFLAGS=-I. -I.. -I$(srcdir) -I$(srcdir)/.. -I$(COMPATINCLUDES) @CPPFLAGS@ @DEFS@ PICFLAG=@PICFLAG@ LIBS=@LIBS@ AR=@AR@ -- 2.47.3