aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/gdbsupport/common-defs.h5
2 files changed, 5 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f3b27bd..2ecc2aa 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2019-12-16 Christian Biesinger <cbiesinger@google.com>
+
+ * gdbsupport/common-defs.h: Remove workaround for a gnulib bug
+ (we no longer need to include time.h before pathmax.h)
+
2019-12-15 Christian Biesinger <cbiesinger@google.com>
* ada-exp.y (write_ambiguous_var): Update.
diff --git a/gdb/gdbsupport/common-defs.h b/gdb/gdbsupport/common-defs.h
index 3b10468..203bd89 100644
--- a/gdb/gdbsupport/common-defs.h
+++ b/gdb/gdbsupport/common-defs.h
@@ -97,11 +97,6 @@
#endif
#include <errno.h>
#include <alloca.h>
-/* Must be included before pathmax.h to avoid build errors about localtime_r
- and gmtime_r in gnulib on MinGW. This is a gnulib bug:
- https://lists.gnu.org/archive/html/bug-gnulib/2019-11/msg00022.html */
-#include <time.h>
-
#include "ansidecl.h"
/* This is defined by ansidecl.h, but we prefer gnulib's version. On