Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa1e55e
)
rs_bitmap.c:
author
Theodore Ts'o
<tytso@mit.edu>
Mon, 20 Oct 1997 00:33:00 +0000
(
00:33
+0000)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 20 Oct 1997 00:33:00 +0000
(
00:33
+0000)
Add #ifdefs for HAVE_SYS_STAT_H and HAVE_SYS_TYPES_H
lib/ext2fs/rs_bitmap.c
patch
|
blob
|
history
diff --git
a/lib/ext2fs/rs_bitmap.c
b/lib/ext2fs/rs_bitmap.c
index
02e3dd1
..
9ee0da8
100644
(file)
--- a/
lib/ext2fs/rs_bitmap.c
+++ b/
lib/ext2fs/rs_bitmap.c
@@
-17,8
+17,12
@@
#include <stdlib.h>
#include <fcntl.h>
#include <time.h>
+#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
+#endif
+#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
+#endif
#if HAVE_ERRNO_H
#include <errno.h>
#endif