Solaris fixes
authorewt <devnull@localhost>
Fri, 30 May 1997 21:57:10 +0000 (21:57 +0000)
committerewt <devnull@localhost>
Fri, 30 May 1997 21:57:10 +0000 (21:57 +0000)
CVS patchset: 1673
CVS date: 1997/05/30 21:57:10

misc/miscfn.h

index aebd154..d94a334 100644 (file)
@@ -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.