diff options
author | Tom Tromey <tromey@redhat.com> | 2013-11-06 07:47:29 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-11-18 13:29:02 -0700 |
commit | 4ff70b847ca222dcd9e7fc33ef2be300f75be68a (patch) | |
tree | 9d522fe48f44a99635c7a816111c11d4b1bca73b | |
parent | 3447c057978c8090ea452561a1c9deb7a3e1ddd2 (diff) | |
download | gdb-4ff70b847ca222dcd9e7fc33ef2be300f75be68a.zip gdb-4ff70b847ca222dcd9e7fc33ef2be300f75be68a.tar.gz gdb-4ff70b847ca222dcd9e7fc33ef2be300f75be68a.tar.bz2 |
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.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rwxr-xr-x | gdb/configure | 4 | ||||
-rw-r--r-- | gdb/configure.ac | 4 |
3 files changed, 7 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f996a69..78a8ee5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,6 +1,11 @@ 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. * configure.ac: Don't check for unistd.h. 2013-11-18 Tom Tromey <tromey@redhat.com> diff --git a/gdb/configure b/gdb/configure index 23e533d..5514b2f 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 <sys/types.h> -#endif +#include <sys/types.h> #if HAVE_SYS_PTRACE_H # include <sys/ptrace.h> #endif diff --git a/gdb/configure.ac b/gdb/configure.ac index d2b5d29..9b73887 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 <sys/types.h> -#endif +#include <sys/types.h> #if HAVE_SYS_PTRACE_H # include <sys/ptrace.h> #endif |