diff options
Diffstat (limited to 'e2fsprogs/e2p/fgetsetflags.c')
-rw-r--r-- | e2fsprogs/e2p/fgetsetflags.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/e2fsprogs/e2p/fgetsetflags.c b/e2fsprogs/e2p/fgetsetflags.c index 34e40551f..008b79850 100644 --- a/e2fsprogs/e2p/fgetsetflags.c +++ b/e2fsprogs/e2p/fgetsetflags.c | |||
@@ -16,15 +16,15 @@ | |||
16 | * 93/10/30 - Creation | 16 | * 93/10/30 - Creation |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #if HAVE_ERRNO_H | 19 | #ifdef HAVE_ERRNO_H |
20 | #include <errno.h> | 20 | #include <errno.h> |
21 | #endif | 21 | #endif |
22 | #if HAVE_UNISTD_H | 22 | #ifdef HAVE_UNISTD_H |
23 | #include <unistd.h> | 23 | #include <unistd.h> |
24 | #endif | 24 | #endif |
25 | #include <sys/types.h> | 25 | #include <sys/types.h> |
26 | #include <sys/stat.h> | 26 | #include <sys/stat.h> |
27 | #if HAVE_EXT2_IOCTLS | 27 | #ifdef HAVE_EXT2_IOCTLS |
28 | #include <fcntl.h> | 28 | #include <fcntl.h> |
29 | #include <sys/ioctl.h> | 29 | #include <sys/ioctl.h> |
30 | #endif | 30 | #endif |
@@ -39,7 +39,7 @@ | |||
39 | 39 | ||
40 | int fgetsetflags (const char * name, unsigned long * get_flags, unsigned long set_flags) | 40 | int fgetsetflags (const char * name, unsigned long * get_flags, unsigned long set_flags) |
41 | { | 41 | { |
42 | #if HAVE_EXT2_IOCTLS | 42 | #ifdef HAVE_EXT2_IOCTLS |
43 | struct stat buf; | 43 | struct stat buf; |
44 | int fd, r, f, save_errno = 0; | 44 | int fd, r, f, save_errno = 0; |
45 | 45 | ||