summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorewt <devnull@localhost>1997-05-30 14:16:20 +0000
committerewt <devnull@localhost>1997-05-30 14:16:20 +0000
commit9491610f7edd4338a1b186c50000b1ea1b6d1801 (patch)
tree70b28137c6341f5158202c377e642312342bcb4a /misc
parent93af6a49c303b2b1eed3957e6eb70d2a9215dd7c (diff)
downloadlibrpm-tizen-9491610f7edd4338a1b186c50000b1ea1b6d1801.tar.gz
librpm-tizen-9491610f7edd4338a1b186c50000b1ea1b6d1801.tar.bz2
librpm-tizen-9491610f7edd4338a1b186c50000b1ea1b6d1801.zip
added virtual query tag ability, fsnames query tag,
CVS patchset: 1668 CVS date: 1997/05/30 14:16:20
Diffstat (limited to 'misc')
-rw-r--r--misc/miscfn.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/misc/miscfn.h b/misc/miscfn.h
index 32fb4a3ee..aebd1548f 100644
--- a/misc/miscfn.h
+++ b/misc/miscfn.h
@@ -62,4 +62,20 @@ extern void *myrealloc(void *, size_t);
#define lchown chown
#endif
+#if HAVE_MNTENT_H
+#include <mntent.h>
+#define GETMNTENT_ONE
+#define our_mntent struct mntent
+#elif HAVE_SYS_MNTTAB_H
+#include <sys/mnttab.h>
+#define GETMNTENT_TWO
+#define our_mntent struct mnttab
+#else
+#error Neither mntent.h nor mnttab.h exists. I cannot build on this system.
+#endif
+
+#ifndef MOUNTED
+#define MOUNTED "/etc/mnttab"
+#endif
+
#endif