Whamcloud - gitweb
libext2fs: Don't include ss/ss.h except when debugging
authorTheodore Ts'o <tytso@mit.edu>
Mon, 23 Jun 2008 18:10:43 +0000 (14:10 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 23 Jun 2008 18:10:43 +0000 (14:10 -0400)
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" <tytso@mit.edu>
lib/ext2fs/extent.c

index 78c605f..d24d457 100644 (file)
@@ -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"
 
 /*