From: Theodore Ts'o Date: Mon, 23 Jun 2008 18:10:43 +0000 (-0400) Subject: libext2fs: Don't include ss/ss.h except when debugging X-Git-Tag: v1.41-WIP-0707~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92e94afe4cc52deeef120941e6ac4d8ca4cda55e;p=thirdparty%2Fe2fsprogs.git libext2fs: Don't include ss/ss.h except when debugging extent.c should only try to include ss/ssh.h when it is compiled with -DDEBUG. Otherwise it's not necessary and it breaks the Debian MIPS build (and the Debian MIPS build only) because it tries to build libext2fs without building libss as part of a MIPS-specific build rule. Addresses-Debian-Bug: #487675 Signed-off-by: "Theodore Ts'o" --- diff --git a/lib/ext2fs/extent.c b/lib/ext2fs/extent.c index 78c605f79..d24d4576f 100644 --- a/lib/ext2fs/extent.c +++ b/lib/ext2fs/extent.c @@ -27,7 +27,6 @@ #include "ext2_fs.h" #include "ext2fsP.h" #include "e2image.h" -#include "ss/ss.h" /* * Definitions to be dropped in lib/ext2fs/ext2fs.h @@ -1355,6 +1354,8 @@ errcode_t ext2fs_extent_get_info(ext2_extent_handle_t handle, #ifdef DEBUG +#include "ss/ss.h" + #include "debugfs.h" /*