From f5660f3bd008bc385c32c2373d6696f425ce25e7 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Fri, 5 Mar 2021 14:06:32 -0500 Subject: build: Add OpenSSL includes to libcompat Some compat sources (getentropy_linux.c for example) require OpenSSL. Reported by Robert Scheck. --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index 7fb433e..c3b80ba 100644 --- a/Makefile.am +++ b/Makefile.am @@ -64,6 +64,8 @@ endif # other compatibility functions libcompat_la_SOURCES = libcompat_la_LIBADD = $(PLATFORM_LDADD) +libcompat_la_CPPFLAGS = $(AM_CPPFLAGS) +libcompat_la_CPPFLAGS += $(OPENSSL_INCLUDES) if !HAVE_STRLCPY libcompat_la_SOURCES += compat/strlcpy.c -- cgit 1.4.1