This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [FYI] Sort includes for files gdb/[a-f]*.[chyl].
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Tom Tromey <tom at tromey dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 06 Apr 2019 08:48:41 +0200
- Subject: Re: [FYI] Sort includes for files gdb/[a-f]*.[chyl].
- References: <20190406011654.28798-1-tom@tromey.com>
On Apr 05 2019, Tom Tromey <tom@tromey.com> wrote:
> diff --git a/gdb/aarch64-fbsd-nat.c b/gdb/aarch64-fbsd-nat.c
> index bb187a600d0..cb4130a2844 100644
> --- a/gdb/aarch64-fbsd-nat.c
> +++ b/gdb/aarch64-fbsd-nat.c
> @@ -18,16 +18,18 @@
> along with this program. If not, see <http://www.gnu.org/licenses/>. */
>
> #include "defs.h"
> -#include "target.h"
>
> -#include <sys/types.h>
> -#include <sys/ptrace.h>
> +/* Standard C includes. */
> #include <machine/reg.h>
> +#include <sys/ptrace.h>
> +#include <sys/types.h>
These are not really "Standard C includes".
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."