Solaris fixes
CVS patchset: 1673 CVS date: 1997/05/30 21:57:10
This commit is contained in:
parent
0965d6236e
commit
18e62235a1
|
@ -64,11 +64,16 @@ extern void *myrealloc(void *, size_t);
|
|||
|
||||
#if HAVE_MNTENT_H
|
||||
#include <mntent.h>
|
||||
#define GETMNTENT_ONE
|
||||
#define GETMNTENT_ONE 1
|
||||
#define GETMNTENT_TWO 0
|
||||
#define our_mntent struct mntent
|
||||
#defeine our_mntdir mnt_dir
|
||||
#elif HAVE_SYS_MNTTAB_H
|
||||
#include <stdio.h>
|
||||
#include <sys/mnttab.h>
|
||||
#define GETMNTENT_TWO
|
||||
#define GETMNTENT_ONE 0
|
||||
#define GETMNTENT_TWO 1
|
||||
#define our_mntdir mnt_mountp
|
||||
#define our_mntent struct mnttab
|
||||
#else
|
||||
#error Neither mntent.h nor mnttab.h exists. I cannot build on this system.
|
||||
|
|
Loading…
Reference in New Issue