summaryrefslogtreecommitdiff
path: root/gdb/common/filestuff.c
diff options
context:
space:
mode:
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>