summaryrefslogtreecommitdiffstats
path: root/include/pathnames.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pathnames.h')
-rw-r--r--include/pathnames.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/pathnames.h b/include/pathnames.h
index b6efdb7dc..1cc4e15e6 100644
--- a/include/pathnames.h
+++ b/include/pathnames.h
@@ -150,7 +150,11 @@
#define _PATH_DEV_BYPARTUUID "/dev/disk/by-partuuid"
/* hwclock paths */
+#ifdef CONFIG_ADJTIME_PATH
+# define _PATH_ADJTIME CONFIG_ADJTIME_PATH
+#else
# define _PATH_ADJTIME "/etc/adjtime"
+#endif
#define _PATH_LASTDATE "/var/lib/lastdate"
#ifdef __ia64__