From c1401ecc29a92428a5d52a23802e20e8c2829b03 Mon Sep 17 00:00:00 2001 From: Nick Alcock Date: Mon, 16 Dec 2019 11:38:57 +0000 Subject: [PATCH] libctf: add some missing #includes. Causes warnings on (at least) recent FreeBSD. libctf/ * ctf-create.c: Include . * ctf-open-bfd.c: Likewise. --- libctf/ChangeLog | 5 +++++ libctf/ctf-create.c | 1 + libctf/ctf-open-bfd.c | 1 + 3 files changed, 7 insertions(+) diff --git a/libctf/ChangeLog b/libctf/ChangeLog index 743237e3d34..a631d55464b 100644 --- a/libctf/ChangeLog +++ b/libctf/ChangeLog @@ -1,3 +1,8 @@ +2020-06-26 Nick Alcock + + * ctf-create.c: Include . + * ctf-open-bfd.c: Likewise. + 2020-06-26 Nick Alcock PR libctf/25120 diff --git a/libctf/ctf-create.c b/libctf/ctf-create.c index a01250bc4d4..808da372de8 100644 --- a/libctf/ctf-create.c +++ b/libctf/ctf-create.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #ifndef roundup diff --git a/libctf/ctf-open-bfd.c b/libctf/ctf-open-bfd.c index 630a158af86..dafa265f9d8 100644 --- a/libctf/ctf-open-bfd.c +++ b/libctf/ctf-open-bfd.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include "swap.h" -- 2.30.2