aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.ac
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-11-06 07:47:29 -0700
committerTom Tromey <tromey@redhat.com>2013-11-18 13:29:02 -0700
commit4ff70b847ca222dcd9e7fc33ef2be300f75be68a (patch)
tree9d522fe48f44a99635c7a816111c11d4b1bca73b /gdb/configure.ac
parent3447c057978c8090ea452561a1c9deb7a3e1ddd2 (diff)
downloadgdb-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.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r--gdb/configure.ac4
1 files changed, 1 insertions, 3 deletions
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