mirror of
https://github.com/troglobit/finit.git
synced 2026-11-27 20:48:24 +00:00
Rely on (now working) fstab.h check in configure
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
108bbf56dd
commit
05be281301
1 file changed
+7
-2
+7
-2
@@ -25,6 +25,11 @@
|
|||||||
#ifndef FINIT_HELPERS_H_
|
#ifndef FINIT_HELPERS_H_
|
||||||
#define FINIT_HELPERS_H_
|
#define FINIT_HELPERS_H_
|
||||||
|
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
|
#ifdef HAVE_FSTAB_H
|
||||||
|
#include <fstab.h>
|
||||||
|
#endif
|
||||||
#include <mntent.h>
|
#include <mntent.h>
|
||||||
#include <sched.h> /* sched_yield() */
|
#include <sched.h> /* sched_yield() */
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
@@ -47,7 +52,7 @@ typedef enum {
|
|||||||
PROGRESS_MODERN,
|
PROGRESS_MODERN,
|
||||||
} pstyle_t;
|
} pstyle_t;
|
||||||
|
|
||||||
#ifndef HAVE_GETFSENT
|
#ifndef HAVE_FSTAB_H
|
||||||
struct fstab {
|
struct fstab {
|
||||||
char *fs_spec; /* block device name */
|
char *fs_spec; /* block device name */
|
||||||
char *fs_file; /* mount point */
|
char *fs_file; /* mount point */
|
||||||
@@ -61,7 +66,7 @@ struct fstab {
|
|||||||
int setfsent (void);
|
int setfsent (void);
|
||||||
void endfsent (void);
|
void endfsent (void);
|
||||||
struct fstab *getfsent (void);
|
struct fstab *getfsent (void);
|
||||||
#endif /* HAVE_GETFSENT */
|
#endif /* HAVE_FSTAB_H */
|
||||||
|
|
||||||
char *console (void);
|
char *console (void);
|
||||||
void console_init (void);
|
void console_init (void);
|
||||||
|
|||||||
Reference in new issue
Block a user