mirror of
https://github.com/troglobit/finit.git
synced 2026-10-05 07:13:44 +07:00
Rely on (now working) fstab.h check in configure
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
+7
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user