From: Guillem Jover Date: Wed, 2 Jul 2008 02:13:02 +0000 (+0300) Subject: libdpkg: Include needed header files X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31e51b79b09381b5077ce79bc5adc832414f500e;p=dpkg libdpkg: Include needed header files --- diff --git a/ChangeLog b/ChangeLog index e85f92c0..50747611 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-07-02 Guillem Jover + + * lib/dpkg-priv.h: Include . + * lib/string.c: Include and . + 2008-07-02 Guillem Jover * dselect/Makefile.am (curkeys.h): Use '$(CPP)' instead of '$(CC) -E'. diff --git a/lib/dpkg-priv.h b/lib/dpkg-priv.h index be70eeb7..8638e6db 100644 --- a/lib/dpkg-priv.h +++ b/lib/dpkg-priv.h @@ -26,6 +26,8 @@ extern "C" { #endif +#include + /* Language definitions. */ #ifndef sizeof_array diff --git a/lib/string.c b/lib/string.c index dea49acb..b110d023 100644 --- a/lib/string.c +++ b/lib/string.c @@ -20,6 +20,9 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include +#include + char * str_escape_fmt(char *dst, const char *src) {