[07/13] Move pathmax.h to common-defs.h
Commit Message
This commit moves the inclusion of pathmax.h to common-defs.h and
removes all other inclusions.
gdb/
2014-07-28 Gary Benson <gbenson@redhat.com>
* common/common-defs.h: Include pathmax.h.
* defs.h: Do not include pathmax.h.
gdb/gdbserver/
2014-07-28 Gary Benson <gbenson@redhat.com>
* server.h: Do not include pathmax.h.
---
gdb/ChangeLog | 5 +++++
gdb/common/common-defs.h | 1 +
gdb/defs.h | 3 ---
gdb/gdbserver/ChangeLog | 4 ++++
gdb/gdbserver/server.h | 3 ---
5 files changed, 10 insertions(+), 6 deletions(-)
@@ -33,5 +33,6 @@
#include <stddef.h>
#include "ansidecl.h"
#include "libiberty.h"
+#include "pathmax.h"
#endif /* COMMON_DEFS_H */
@@ -48,9 +48,6 @@
#include <unistd.h>
-/* For gnulib's PATH_MAX. */
-#include "pathmax.h"
-
#include <fcntl.h>
#include "gdb_locale.h"
@@ -32,9 +32,6 @@
#endif
#include <setjmp.h>
-/* For gnulib's PATH_MAX. */
-#include "pathmax.h"
-
#include <string.h>
#ifdef HAVE_ALLOCA_H