aboutsummaryrefslogtreecommitdiffstats
path: root/e2fsck/unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsck/unix.c')
-rw-r--r--e2fsck/unix.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/e2fsck/unix.c b/e2fsck/unix.c
index 6f94644e..56f4924e 100644
--- a/e2fsck/unix.c
+++ b/e2fsck/unix.c
@@ -11,7 +11,6 @@
#define _XOPEN_SOURCE 600 /* for inclusion of sa_handler in Solaris */
-#include "config.h"
#include <stdio.h>
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
@@ -68,6 +67,10 @@ e2fsck_t e2fsck_global_ctx; /* Try your very best not to use this! */
int journal_enable_debug = -1;
#endif
+#ifndef ROOT_SYSCONFDIR
+#define ROOT_SYSCONFDIR "/etc"
+#endif
+
static void usage(e2fsck_t ctx)
{
fprintf(stderr,