diff options
author | ewt <devnull@localhost> | 1997-05-30 14:16:20 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1997-05-30 14:16:20 +0000 |
commit | 9491610f7edd4338a1b186c50000b1ea1b6d1801 (patch) | |
tree | 70b28137c6341f5158202c377e642312342bcb4a /misc | |
parent | 93af6a49c303b2b1eed3957e6eb70d2a9215dd7c (diff) | |
download | librpm-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.h | 16 |
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 |