summaryrefslogtreecommitdiff
path: root/libpkgconf/libpkgconf
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-05-13 10:23:04 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-05-13 10:23:04 +0200
commit01bce5dd1536459c415efbd489da86632c32a3fc (patch)
tree62036505829faa42c049c4bdf3c2f17079b2b8a2 /libpkgconf/libpkgconf
parente00a421e51b5747696f89b6611eba1d0010dd501 (diff)
Release version 1.6.3+6v1.6.3+6
Tweak config.h to support for OpenBSD.
Diffstat (limited to 'libpkgconf/libpkgconf')
-rw-r--r--libpkgconf/libpkgconf/config.h.in7
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