From: Tom Tromey Date: Wed, 6 Nov 2013 14:47:29 +0000 (-0700) Subject: sys/types.h cleanup X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4ff70b847ca222dcd9e7fc33ef2be300f75be68a;p=binutils-gdb.git sys/types.h cleanup configure doesn't check for sys/types.h any more, but it still tries to use the result of the check. This removes that use as well. 2013-11-18 Tom Tromey * configure: Rebuild. * configure.ac: Remove check of HAVE_SYS_TYPES_H. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f996a69541d..78a8ee531d6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-11-18 Tom Tromey + + * configure: Rebuild. + * configure.ac: Remove check of HAVE_SYS_TYPES_H. + 2013-11-18 Tom Tromey * configure: Rebuild. diff --git a/gdb/configure b/gdb/configure index 23e533ddaa0..5514b2f9715 100755 --- a/gdb/configure +++ b/gdb/configure @@ -10404,9 +10404,7 @@ _ACEOF # Check the return and argument types of ptrace. No canned test for # this, so roll our own. gdb_ptrace_headers=' -#if HAVE_SYS_TYPES_H -# include -#endif +#include #if HAVE_SYS_PTRACE_H # include #endif diff --git a/gdb/configure.ac b/gdb/configure.ac index d2b5d29ecda..9b73887b5e4 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -1163,9 +1163,7 @@ GDB_AC_COMMON # Check the return and argument types of ptrace. No canned test for # this, so roll our own. gdb_ptrace_headers=' -#if HAVE_SYS_TYPES_H -# include -#endif +#include #if HAVE_SYS_PTRACE_H # include #endif