sys/types.h cleanup
authorTom Tromey <tromey@redhat.com>
Wed, 6 Nov 2013 14:47:29 +0000 (07:47 -0700)
committerTom Tromey <tromey@redhat.com>
Mon, 18 Nov 2013 20:29:02 +0000 (13:29 -0700)
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.

gdb/ChangeLog
gdb/configure
gdb/configure.ac

index f996a69541dea8bfdf042bfe18b5cb499c12fe0f..78a8ee531d618a47ff21178708e64195676f8fcf 100644 (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.
index 23e533ddaa0f6e7f4baadb1e485c3a61e5d1c8a7..5514b2f9715d1c512042bdb5a061f98fe3723dd7 100755 (executable)
@@ -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
index d2b5d29ecdae4f34fb88b48dbda3e326b60d28e3..9b73887b5e47b41bec71d5dd8acc8e858e3acc66 100644 (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