This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[8/10] RFC: don't check for sys/types.h
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 15 Nov 2012 12:30:38 -0700
- Subject: [8/10] RFC: don't check for sys/types.h
- References: <87obiyzns7.fsf@fleche.redhat.com>
Not only is sys/types.h apparently always available, gdb doesn't have
any code actually relying on the check.
Tom
* configure.ac: Don't check for sys/types.h.
* configure: Rebuild.
---
gdb/configure | 2 +-
gdb/configure.ac | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gdb/configure.ac b/gdb/configure.ac
index ccd8322..644d853 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -1079,7 +1079,7 @@ AC_CHECK_HEADERS([nlist.h machine/reg.h poll.h sys/poll.h proc_service.h \
sys/file.h sys/filio.h sys/ioctl.h sys/param.h \
sys/resource.h sys/procfs.h sys/ptrace.h ptrace.h \
sys/reg.h sys/debugreg.h sys/select.h sys/syscall.h \
- sys/types.h sys/wait.h wait.h termios.h termio.h \
+ sys/wait.h wait.h termios.h termio.h \
sgtty.h unistd.h elf_hp.h locale.h \
dlfcn.h sys/socket.h sys/un.h])
AC_CHECK_HEADERS(link.h, [], [],
--
1.7.7.6