OSDN Git Service

e2fsck: fix build under dietlibc
authorTheodore Ts'o <tytso@mit.edu>
Fri, 19 Sep 2014 04:48:24 +0000 (00:48 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 19 Sep 2014 04:48:24 +0000 (00:48 -0400)
The asm_types.h file needs to include stdio.h and stdlib.h in order to
get integer types included.  So add those includes into jfs_user.h to
avoid a build faliure under dietlibc.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/jfs_user.h

index adb8ae9..cbc14e8 100644 (file)
@@ -12,6 +12,8 @@
 #define _JFS_USER_H
 
 #ifdef DEBUGFS
+#include <stdio.h>
+#include <stdlib.h>
 #if EXT2_FLAT_INCLUDES
 #include "ext2_fs.h"
 #include "ext2fs.h"