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

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

This makes the header stand alone.
Guillem Jover лет назад: 11
Родитель
Сommit
a8b3ff906c
1 измененных файлов с 1 добавлено и 0 удалено
  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>