diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-05-13 10:23:04 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-05-13 10:23:04 +0200 |
commit | 01bce5dd1536459c415efbd489da86632c32a3fc (patch) | |
tree | 62036505829faa42c049c4bdf3c2f17079b2b8a2 /libpkgconf/libpkgconf/config.h.in | |
parent | e00a421e51b5747696f89b6611eba1d0010dd501 (diff) |
Release version 1.6.3+6v1.6.3+6
Tweak config.h to support for OpenBSD.
Diffstat (limited to 'libpkgconf/libpkgconf/config.h.in')
-rw-r--r-- | libpkgconf/libpkgconf/config.h.in | 7 |
1 files changed, 5 insertions, 2 deletions
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 |