summaryrefslogtreecommitdiff
path: root/lib/mktime.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mktime.c')
-rw-r--r--lib/mktime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mktime.c b/lib/mktime.c
index 29438237760..48b3a40f9c7 100644
--- a/lib/mktime.c
+++ b/lib/mktime.c
@@ -38,7 +38,7 @@
#include <string.h> /* For the real memcpy prototype. */
-#if DEBUG
+#if defined DEBUG && DEBUG
# include <stdio.h>
# include <stdlib.h>
/* Make it work even if the system's libc has its own mktime routine. */
@@ -600,7 +600,7 @@ libc_hidden_def (mktime)
libc_hidden_weak (timelocal)
#endif
-#if DEBUG
+#if defined DEBUG && DEBUG
static int
not_equal_tm (const struct tm *a, const struct tm *b)