Rely on (now working) fstab.h check in configure

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2022-04-19 20:04:03 +02:00
parent 108bbf56dd
commit 05be281301
+7 -2
View File
@@ -25,6 +25,11 @@
#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);