Fix detection of "r_fs" and "r_gs" on FreeBSD.
authorJohn Baldwin <jhb@FreeBSD.org>
Mon, 18 Jan 2016 19:59:45 +0000 (11:59 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 19 Jan 2016 15:37:20 +0000 (07:37 -0800)
commita6e69c1f1de84549d99792031dd05d5ba70bd8a5
tree352ea60e4895daa94cb866d7b1e3de439f42fb83
parent34e967a5f3ac5fd0353731a259e358d462823290
Fix detection of "r_fs" and "r_gs" on FreeBSD.

Include <sys/types.h> as a prerequisite for <machine/reg.h> when checking
for the r_fs and r_gs members in struct reg.  Note that the previous test
for <machine/reg.h> already includes <sys/types.h> as a prerequisite.

gdb/ChangeLog:

* configure.ac: Include <sys/types.h when checking for "r_fs" in
"struct reg".
* configure: Regenerate.
gdb/ChangeLog
gdb/configure
gdb/configure.ac