diff options
author | Tom Tromey <tromey@redhat.com> | 2013-11-06 07:36:46 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-11-18 13:29:01 -0700 |
commit | 161d1bec16764585e987c8d804df0fb560a0d491 (patch) | |
tree | 57fe668db971f2368399a241b9e4effec80b7167 /gdb/configure.ac | |
parent | 2978b11100a6318e05b8bc2d7923d9f735ef5c6e (diff) | |
download | gdb-161d1bec16764585e987c8d804df0fb560a0d491.zip gdb-161d1bec16764585e987c8d804df0fb560a0d491.tar.gz gdb-161d1bec16764585e987c8d804df0fb560a0d491.tar.bz2 |
don't check for stddef.h
gdb already unconditionally includes stddef.h in many places.
I think there is no reason to check for its existence.
Also, Zack Weinberg's header file survey agrees:
http://hacks.owlfolio.org/header-survey/
This patch removes the configure check and the inclusion guards.
It also removes a redundant inclusion that I noticed in defs.h.
2013-11-18 Tom Tromey <tromey@redhat.com>
* config.in: Rebuild.
* configure: Rebuild.
* configure.ac: Don't check for stddef.h.
* defs.h: Unconditionally include stddef.h. Remove duplicate
inclusion.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r-- | gdb/configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac index 6025e89..d6b75d6 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -1075,7 +1075,7 @@ fi AC_HEADER_STDC # elf_hp.h is for HP/UX 64-bit shared library support. AC_CHECK_HEADERS([nlist.h machine/reg.h poll.h sys/poll.h proc_service.h \ - thread_db.h stddef.h \ + thread_db.h \ stdlib.h sys/fault.h \ sys/file.h sys/filio.h sys/ioctl.h sys/param.h \ sys/resource.h sys/procfs.h sys/ptrace.h ptrace.h \ |