Quellcode durchsuchen

libdpkg: Add missing <stddef.h> to dpkg/string.h needed for size_t and NULL

This makes the header stand alone.
Guillem Jover vor 11 Jahren
Ursprung
Commit
a8b3ff906c
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      lib/dpkg/string.h

+ 1 - 0
lib/dpkg/string.h

@@ -21,6 +21,7 @@
 #ifndef LIBDPKG_STRING_H
 #define LIBDPKG_STRING_H
 
+#include <stddef.h>
 #include <stdbool.h>
 
 #include <dpkg/macros.h>