summaryrefslogtreecommitdiff
path: root/rtc/date.c
diff options
context:
space:
mode:
Diffstat (limited to 'rtc/date.c')
-rw-r--r--rtc/date.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtc/date.c b/rtc/date.c
index b5f8c48..17d870f 100644
--- a/rtc/date.c
+++ b/rtc/date.c
@@ -29,7 +29,7 @@
#include <command.h>
#include <rtc.h>
-#if (CONFIG_COMMANDS & CFG_CMD_DATE) || defined(CONFIG_TIMESTAMP)
+#if (CONFIG_COMMANDS & CFG_CMD_DATE) || defined(CONFIG_CMD_DATE) || defined(CONFIG_TIMESTAMP)
#define FEBRUARY 2
#define STARTOFTIME 1970