Remove forward declaration of struct stat
authorGary Benson <gbenson@redhat.com>
Tue, 17 Mar 2015 11:26:09 +0000 (11:26 +0000)
committerGary Benson <gbenson@redhat.com>
Tue, 17 Mar 2015 11:26:09 +0000 (11:26 +0000)
commit7f3647e2ba4517be59ce531ec2297918b998fe3e
tree6449aa029e4eb42a362bfe663d06f192ee40b603
parentc4b0b099b884e73d883f2b8c3ea8ffc9dc678902
Remove forward declaration of struct stat

Forward declarations of struct stat break the Windows build.
This commit removes a forward declaration of struct stat and
includes sys/stat.h directly instead.

gdb/ChangeLog:

PR gdb/18131
* common/common-remote-fileio.h (sys/stat.h): New include.
(stuct stat): Remove forward declaration.
gdb/ChangeLog
gdb/common/common-remote-fileio.h