summaryrefslogtreecommitdiff
path: root/gdb/common/filestuff.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-03-30 11:29:17 -0600
committerTom Tromey <tom@tromey.com>2019-03-30 11:36:53 -0600
commit268f4c4cd7b229f7f23ebbf6006973ebe0a05888 (patch)
treec97516c90aa5bf6ccb54c494c275339d42dc03aa /gdb/common/filestuff.c
parentae2b14c73cd42b067e9687219155ed044210f0c1 (diff)
downloadbinutils-gdb-268f4c4cd7b229f7f23ebbf6006973ebe0a05888.tar.gz
Diffstat (limited to 'gdb/common/filestuff.c')
-rw-r--r--gdb/common/filestuff.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/gdb/common/filestuff.c b/gdb/common/filestuff.c
index 1ca62482a7e..4c79367f6dc 100644
--- a/gdb/common/filestuff.c
+++ b/gdb/common/filestuff.c
@@ -16,15 +16,21 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "common-defs.h"
-#include "filestuff.h"
-#include "gdb_vecs.h"
+#include "common/common-defs.h"
+#include "common/filestuff.h"
+
+/* Standard C includes. */
#include <fcntl.h>
-#include <unistd.h>
-#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/types.h>
+#include <unistd.h>
+
+/* Standard C++ includes. */
#include <algorithm>
+/* Local non-gdb includes. */
+#include "gdb_vecs.h"
+
#ifdef USE_WIN32API
#include <winsock2.h>
#include <windows.h>