I noticed that windows-nat.c includes buildsym-legacy.h -- but there's
no reason to do so, as windows-nat.c doesn't create any symbols.
gdb/ChangeLog
2019-10-08  Tom Tromey  <tromey@adacore.com>
	* windows-nat.c: Don't include buildsym-legacy.h.
+2019-10-08  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c: Don't include buildsym-legacy.h.
+
 2019-10-08  Tom Tromey  <tromey@adacore.com>
 
        * contrib/ari/gdb_ari.sh (%p): Allow gdb-specific %p extensions.
 
 #endif
 #include <algorithm>
 
-#include "buildsym-legacy.h"
 #include "filenames.h"
 #include "symfile.h"
 #include "objfiles.h"