summaryrefslogtreecommitdiffstats
path: root/lib/ChangeLog
diff options
context:
space:
mode:
authorSaleem Abdulrasool <[email protected]>2021-08-20 20:28:23 +0000
committerMark Wielaard <[email protected]>2021-08-27 17:31:32 +0200
commit76c84c137a82a7cacbc69b1696052491b3bb81cb (patch)
treecfcf4668bc54d3d75e12397b7c3aa1b40864cbf0 /lib/ChangeLog
parentd0c72317dcde4c21e88e37dfd865335fc7f0c079 (diff)
handle libc implementations which do not provide `error.h`
Introduce a configure time check for the presence of `error.h`. In the case that `error.h` is not available, we can fall back to `err.h`. Although `err.h` is not a C standard header (it is a BSD extension), many libc implementations provide. If there are targets which do not provide an implementation of `err.h`, it would be possible to further extend the implementation to be more portable. This resolves bug #21008. Signed-off-by: Saleem Abdulrasool <[email protected]>
Diffstat (limited to 'lib/ChangeLog')
-rw-r--r--lib/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index a95f8041..589953cf 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,5 +1,10 @@
2021-08-20 Saleem Abdulrasool <[email protected]>
+ * system.h: Check for HAVE_ERROR_H and HAVE_ERR_H and define
+ error_message_cont and error if necessary.
+
+2021-08-20 Saleem Abdulrasool <[email protected]>
+
* fixedsizehash.h: Remove sys/cdefs.h include. Unconditionally
define STROF and CONCAT macros.