[dpkg] 90/187: libdpkg: Add missing <string.h> include

Reiner Herrmann reiner at reiner-h.de
Sun Nov 6 12:46:28 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 43df068870410902c561d1cf6e7ae47ca080f6c6
Author: Guillem Jover <guillem at debian.org>
Date:   Tue Aug 23 21:34:42 2016 +0200

    libdpkg: Add missing <string.h> include
    
    Warned-by: clang
---
 debian/changelog       | 1 +
 lib/dpkg/path-remove.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index da3c818..eaa6d01 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -32,6 +32,7 @@ dpkg (1.18.11) UNRELEASED; urgency=medium
     standalone, by honoring SOURCE_DATE_EPOCH.
   * Portability:
     - Cast off_t variables to intmax_t when printing them with "%jd".
+    - Add missing <string.h> include in libdpkg.
   * 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/dpkg/path-remove.c b/lib/dpkg/path-remove.c
index d79e1d4..3086408 100644
--- a/lib/dpkg/path-remove.c
+++ b/lib/dpkg/path-remove.c
@@ -26,6 +26,7 @@
 
 #include <assert.h>
 #include <errno.h>
+#include <string.h>
 #include <unistd.h>
 
 #include <dpkg/i18n.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