Rely on (now working) fstab.h check in configure
#ifndef FINIT_HELPERS_H_
#define FINIT_HELPERS_H_
+#include "config.h"
+
+#ifdef HAVE_FSTAB_H
+#include <fstab.h>
+#endif
#include <mntent.h>
#include <sched.h> /* sched_yield() */
#include <stdarg.h>
@@ -47,7 +52,7 @@ typedef enum {
PROGRESS_MODERN,
} pstyle_t;
-#ifndef HAVE_GETFSENT
+#ifndef HAVE_FSTAB_H
struct fstab {
char *fs_spec; /* block device name */
char *fs_file; /* mount point */
@@ -61,7 +66,7 @@ struct fstab {
int setfsent (void);
void endfsent (void);
struct fstab *getfsent (void);
-#endif /* HAVE_GETFSENT */
+#endif /* HAVE_FSTAB_H */
char *console (void);
void console_init (void);
