Procházet zdrojové kódy

libdpkg: Add missing <string.h> include

Warned-by: clang
Guillem Jover před 10 roky
rodič
revize
43df068870
2 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 1 0
      debian/changelog
  2. 1 0
      lib/dpkg/path-remove.c

+ 1 - 0
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

+ 1 - 0
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>