OSDN Git Service

Fix build error in blkid/tst_types.c when using diet libc
authorTheodore Ts'o <tytso@mit.edu>
Mon, 31 Dec 2007 19:43:11 +0000 (14:43 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 1 Jan 2008 03:35:18 +0000 (22:35 -0500)
When compiling with diet libc, <sys/types.h> must be included in order
to define the types used in asm/types.h.  Strange choice, but
workable.  This doesn't cause much problems for e2fsprogs except
blkid/tst_types.h, which needed a #include of <sys/types.h>.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/blkid/tst_types.c

index f5a3f6f..8e3055d 100644 (file)
@@ -9,6 +9,7 @@
  * %End-Header%
  */
 
+#include <sys/types.h>
 #include "blkid/blkid_types.h"
 
 #include <stdlib.h>