The following commit has been merged in the sid branch: commit 55ed7ef4ac47abec9055e78bf9b5ff8c1b6006ad Author: Fabian Groffen <grob...@gentoo.org> Date: Fri Aug 13 04:43:03 2010 +0200
u-a: Include <limits.h> for _POSIX_MAX_PATH Needed on at least Solaris and Darwin, and as defined per POSIX. Signed-off-by: Guillem Jover <guil...@debian.org> diff --git a/debian/changelog b/debian/changelog index fe7d779..ee7136e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,7 @@ dpkg (1.15.8.4) UNRELEASED; urgency=low * Fix compilation on Solaris and Darwin: - Link update-alternatives against libintl if libc does not have i18n support. + - Include <limits.h> for _POSIX_MAX_PATH in update-alternatives. Thanks to Fabian Groffen <grob...@gentoo.org>. [ Raphaƫl Hertzog ] diff --git a/utils/update-alternatives.c b/utils/update-alternatives.c index b1fc315..aa36f69 100644 --- a/utils/update-alternatives.c +++ b/utils/update-alternatives.c @@ -41,6 +41,7 @@ #include <assert.h> #include <locale.h> #include <ctype.h> +#include <limits.h> #include <dpkg/macros.h> #include <dpkg/i18n.h> -- dpkg's main repository -- To UNSUBSCRIBE, email to debian-dpkg-cvs-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org