summaryrefslogtreecommitdiff
path: root/mount/fstab.h
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2007-01-04 14:39:17 +0100
committerKarel Zak <kzak@redhat.com>2007-01-04 14:39:17 +0100
commit8174c9ca720fdcb98f0da09de792ecea9d340691 (patch)
tree40e4503fc4d1a9038ed1db90c3cae7eecda74372 /mount/fstab.h
parente83446da1a3f626920d5e65d4f78651581765b61 (diff)
downloadutil-linux-old-8174c9ca720fdcb98f0da09de792ecea9d340691.tar.gz
build-sys: remove DEFAULT_INCLUDES workaround
The automake stuff uses "-I.". as a default gcc option for includes. This is a problem for source code where is local includes with a same name like system includes (e.g. mntent.h, paths.h). Possible workaround is overwrite the automake DEFAULT_INCLUDES variable. But this solution produces warnings. The best way (this patch) is probably rename the files and remove DEFAULT_INCLUDES. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount/fstab.h')
-rw-r--r--mount/fstab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mount/fstab.h b/mount/fstab.h
index f1d4e5c6..3daa8146 100644
--- a/mount/fstab.h
+++ b/mount/fstab.h
@@ -1,4 +1,4 @@
-#include "mntent.h"
+#include "mount_mntent.h"
int mtab_is_writable(void);
int mtab_does_not_exist(void);
int is_mounted_once(const char *name);