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  <tromey@redhat.com>

	* configure: Rebuild.
	* configure.ac: Remove check of HAVE_SYS_TYPES_H.
This commit is contained in:
Tom Tromey 2013-11-06 07:47:29 -07:00
parent 3447c05797
commit 4ff70b847c
3 changed files with 7 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2013-11-18 Tom Tromey <tromey@redhat.com>
* configure: Rebuild.
* configure.ac: Remove check of HAVE_SYS_TYPES_H.
2013-11-18 Tom Tromey <tromey@redhat.com>
* configure: Rebuild.

4
gdb/configure vendored
View File

@ -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 <sys/types.h>
#endif
#include <sys/types.h>
#if HAVE_SYS_PTRACE_H
# include <sys/ptrace.h>
#endif

View File

@ -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 <sys/types.h>
#endif
#include <sys/types.h>
#if HAVE_SYS_PTRACE_H
# include <sys/ptrace.h>
#endif