From 01bce5dd1536459c415efbd489da86632c32a3fc Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 13 May 2022 10:23:04 +0200 Subject: Release version 1.6.3+6 Tweak config.h to support for OpenBSD. --- libpkgconf/libpkgconf/config.h.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libpkgconf/libpkgconf') diff --git a/libpkgconf/libpkgconf/config.h.in b/libpkgconf/libpkgconf/config.h.in index 0f5117c..adb6f9c 100644 --- a/libpkgconf/libpkgconf/config.h.in +++ b/libpkgconf/libpkgconf/config.h.in @@ -19,14 +19,17 @@ /* * strndup() is not present on Windows while strl*() are only present on - * FreeBSD and MacOS. + * *BSD and MacOS. * */ #if !defined(_WIN32) # define HAVE_STRNDUP 1 #endif -#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__) +#if defined(__FreeBSD__) || \ + defined(__OpenBSD__) || \ + defined(__NetBSD__) || \ + defined(__APPLE__) # define HAVE_STRLCPY 1 # define HAVE_STRLCAT 1 #endif -- cgit v1.1