From 31e51b79b09381b5077ce79bc5adc832414f500e Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Wed, 2 Jul 2008 05:13:02 +0300 Subject: [PATCH] libdpkg: Include needed header files --- ChangeLog | 5 +++++ lib/dpkg-priv.h | 2 ++ lib/string.c | 3 +++ 3 files changed, 10 insertions(+) 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) { -- 2.39.5