c6d234
Fix -Wundef warnings.  Part of this upstream commit:
c6d234
c6d234
commit dd0ba018122e88937a5f14b6594b9a40693b2e58
c6d234
Author: Paul Eggert <eggert@cs.ucla.edu>
c6d234
Date:   Sat Jun 28 06:15:54 2014 +0530
c6d234
c6d234
    Sync up mktime with gnulib
c6d234
c6d234
diff --git a/time/mktime.c b/time/mktime.c
c6d234
index e1fbf9ea197d3c8b..bc914d80593b91f2 100644
c6d234
--- a/time/mktime.c
c6d234
+++ b/time/mktime.c
c6d234
@@ -38,7 +38,7 @@
c6d234
 
c6d234
 #include <string.h>		/* For the real memcpy prototype.  */
c6d234
 
c6d234
-#if DEBUG
c6d234
+#if defined DEBUG && DEBUG
c6d234
 # include <stdio.h>
c6d234
 # include <stdlib.h>
c6d234
 /* Make it work even if the system's libc has its own mktime routine.  */
c6d234
@@ -600,7 +600,7 @@ libc_hidden_def (mktime)
c6d234
 libc_hidden_weak (timelocal)
c6d234
 #endif
c6d234
 
c6d234
-#if DEBUG
c6d234
+#if defined DEBUG && DEBUG
c6d234
 
c6d234
 static int
c6d234
 not_equal_tm (const struct tm *a, const struct tm *b)