aboutsummaryrefslogtreecommitdiff
path: root/gdb/common/filestuff.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-11-06 07:28:57 -0700
committerTom Tromey <tromey@redhat.com>2013-11-18 13:29:01 -0700
commit2978b11100a6318e05b8bc2d7923d9f735ef5c6e (patch)
tree512725acc4ebc8bfc389d3b44c52aaea6f7c377f /gdb/common/filestuff.c
parente26b6bb047e55e8c1465691886ee21117394b7a6 (diff)
downloadgdb-2978b11100a6318e05b8bc2d7923d9f735ef5c6e.zip
gdb-2978b11100a6318e05b8bc2d7923d9f735ef5c6e.tar.gz
gdb-2978b11100a6318e05b8bc2d7923d9f735ef5c6e.tar.bz2
remove gdb_dirent.h
This removes gdb_dirent.h and updates the code to use dirent.h instead. It also removes the now-useless configure checks. 2013-11-18 Tom Tromey <tromey@redhat.com> * common/common.m4 (GDB_AC_COMMON): Don't use AC_HEADER_DIRENT. * common/gdb_dirent.h: Remove. * common/filestuff.c: Use dirent.h. * common/linux-osdata.c: Use dirent.h. (NAMELEN): Define. * config.in: Rebuild. * configure: Rebuild. * configure.ac: Don't use AC_HEADER_DIRENT. * linux-fork.c: Use dirent.h * linux-nat.c: Use dirent.h. * nto-procfs.c: Use dirent.h. * procfs.c: Use dirent.h. 2013-11-18 Tom Tromey <tromey@redhat.com> * config.in: Rebuild. * configure: Rebuild. * configure.ac: Don't use AC_HEADER_DIRENT.
Diffstat (limited to 'gdb/common/filestuff.c')
-rw-r--r--gdb/common/filestuff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/common/filestuff.c b/gdb/common/filestuff.c
index ff6d54f..bbb60a7 100644
--- a/gdb/common/filestuff.c
+++ b/gdb/common/filestuff.c
@@ -58,7 +58,7 @@
#ifndef HAVE_FDWALK
-#include "gdb_dirent.h"
+#include <dirent.h>
/* Replacement for fdwalk, if the system doesn't define it. Walks all
open file descriptors (though this implementation may walk closed