Просмотр исходного кода

libdpkg: Add missing <string.h> include

Warned-by: clang
Guillem Jover лет назад: 10
Родитель
Сommit
43df068870
2 измененных файлов с 2 добавлено и 0 удалено
  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>