]> err.no Git - dpkg/commitdiff
libdpkg: Include needed header files
authorGuillem Jover <guillem@debian.org>
Wed, 2 Jul 2008 02:13:02 +0000 (05:13 +0300)
committerGuillem Jover <guillem@debian.org>
Wed, 2 Jul 2008 06:30:10 +0000 (09:30 +0300)
ChangeLog
lib/dpkg-priv.h
lib/string.c

index e85f92c0eec5e5683ffb5a491b9fbc41187c11e1..507476114f8214b514c254b9d48079302a6504f3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-07-02  Guillem Jover  <guillem@debian.org>
+
+       * lib/dpkg-priv.h: Include <stddef.h>.
+       * lib/string.c: Include <config.h> and <dpkg-priv.h>.
+
 2008-07-02  Guillem Jover  <guillem@debian.org>
 
        * dselect/Makefile.am (curkeys.h): Use '$(CPP)' instead of '$(CC) -E'.
index be70eeb78c5431f4256de810ac885ad3046441f0..8638e6dbcd945ab73a7bafb514151eee3b941ccf 100644 (file)
@@ -26,6 +26,8 @@
 extern "C" {
 #endif
 
+#include <stddef.h>
+
 /* Language definitions. */
 
 #ifndef sizeof_array
index dea49acb7f15b968f3d4aa985700820dbac97144..b110d0235048bbfa163e7cd5d8700771183d81dd 100644 (file)
@@ -20,6 +20,9 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+#include <config.h>
+#include <dpkg-priv.h>
+
 char *
 str_escape_fmt(char *dst, const char *src)
 {