diff options
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/nat/amd64-linux-siginfo.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f608d9e..beee613 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2021-02-19 Kevin Buettner <kevinb@redhat.com> + + * nat/amd64-linux-siginfo.c: Include "gdbsupport/common-defs.h" + (which in turn includes <gnulib/config.h>) before include + of <signal.h>. + 2021-02-19 Nelson Chu <nelson.chu@sifive.com> PR 27158 diff --git a/gdb/nat/amd64-linux-siginfo.c b/gdb/nat/amd64-linux-siginfo.c index 0c93281..e2d2db6 100644 --- a/gdb/nat/amd64-linux-siginfo.c +++ b/gdb/nat/amd64-linux-siginfo.c @@ -17,8 +17,8 @@ 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 <signal.h> #include "gdbsupport/common-defs.h" +#include <signal.h> #include "amd64-linux-siginfo.h" #define GDB_SI_SIZE 128 |