diff options
Diffstat (limited to 'gdb/gdbserver/configure')
-rwxr-xr-x | gdb/gdbserver/configure | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure index ca51321..340ca7a 100755 --- a/gdb/gdbserver/configure +++ b/gdb/gdbserver/configure @@ -7525,7 +7525,8 @@ fi # See if <sys/user.h> supports the %fs_base and %gs_bas amd64 segment registers. # Older amd64 Linux's don't have the fs_base and gs_base members of # `struct user_regs_struct'. -ac_fn_c_check_member "$LINENO" "struct user_regs_struct" "fs_base" "ac_cv_member_struct_user_regs_struct_fs_base" "#include <sys/user.h> +ac_fn_c_check_member "$LINENO" "struct user_regs_struct" "fs_base" "ac_cv_member_struct_user_regs_struct_fs_base" "#include <sys/types.h> +#include <sys/user.h> " if test "x$ac_cv_member_struct_user_regs_struct_fs_base" = x""yes; then : @@ -7535,7 +7536,8 @@ _ACEOF fi -ac_fn_c_check_member "$LINENO" "struct user_regs_struct" "gs_base" "ac_cv_member_struct_user_regs_struct_gs_base" "#include <sys/user.h> +ac_fn_c_check_member "$LINENO" "struct user_regs_struct" "gs_base" "ac_cv_member_struct_user_regs_struct_gs_base" "#include <sys/types.h> +#include <sys/user.h> " if test "x$ac_cv_member_struct_user_regs_struct_gs_base" = x""yes; then : |