[dpkg] 113/187: libcompat: Add missing <errno.h> include
Reiner Herrmann
reiner at reiner-h.de
Sun Nov 6 12:46:31 UTC 2016
This is an automated email from the git hooks/post-receive script.
deki-guest pushed a commit to branch master
in repository dpkg.
commit 251474f44384a584b8ac65407fb6ccc2cca66b97
Author: Guillem Jover <guillem at debian.org>
Date: Fri Aug 26 02:58:09 2016 +0200
libcompat: Add missing <errno.h> include
Warned-by: gcc on AIX
---
debian/changelog | 1 +
lib/compat/strerror.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index d2d6da5..985e9c9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -57,6 +57,7 @@ dpkg (1.18.11) UNRELEASED; urgency=medium
ar_hdr struct, as the ar format is not standardized and does vary
across systems, for example on AIX.
- Add <sys/sysmacros.h> on AIX for major() and minor().
+ - Add missing <errno.h> in libcompat.
* Perl modules:
- Obsolete Source-Version substvar in Dpkg::Substvars by emitting errors.
- Rework keyring hooks in Dpkg::Vendor. Deprecate the keyrings hook, and
diff --git a/lib/compat/strerror.c b/lib/compat/strerror.c
index 5c895ab..e35ffc1 100644
--- a/lib/compat/strerror.c
+++ b/lib/compat/strerror.c
@@ -19,6 +19,7 @@
#include <config.h>
+#include <errno.h>
#include <stdio.h>
#include <gettext.h>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git
More information about the Reproducible-commits
mailing list