aboutsummaryrefslogtreecommitdiffstats
path: root/misc/mke2fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/mke2fs.c')
-rw-r--r--misc/mke2fs.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/misc/mke2fs.c b/misc/mke2fs.c
index 2e8ba60c..ee73d39e 100644
--- a/misc/mke2fs.c
+++ b/misc/mke2fs.c
@@ -18,7 +18,6 @@
#define _XOPEN_SOURCE 600 /* for inclusion of PATH_MAX in Solaris */
-#include "config.h"
#include <stdio.h>
#include <string.h>
#include <strings.h>
@@ -71,6 +70,10 @@ extern int optind;
#define ZAP_BOOTBLOCK
#endif
+#ifndef ROOT_SYSCONFDIR
+#define ROOT_SYSCONFDIR "/etc"
+#endif
+
#define DISCARD_STEP_MB (2048)
extern int isatty(int);