From 8839a007adc2aaf3a5278cbe8e0e85f827360a87 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Mon, 1 Jul 2013 11:18:09 +0000 Subject: Import the "unistd" gnulib module. I wanted to import the pathmax module, and that pulls in the unistd module as dependency. The unistd module is actually bigger than the pathmax module. If we're going to end up with it, might as well import it explicitly, and make use of it throughout. The "unistd" module makes a GNU-like always available. This means we no longer need to do: +#ifdef HAVE_UNISTD_H #include +#endif and we can remove a few constants from defs.h. This is just the importing step. gdb/ 2013-07-01 Pedro Alves Import the "unistd" gnulib module. * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add "unistd". * gnulib/Makefile.in (aclocal_m4_deps): Add import/m4/off_t.m4, import/m4/ssize_t.m4, import/m4/sys_types_h.m4 and import/m4/unistd_h.m4. * gnulib/aclocal.m4: Renenerate. * gnulib/config.in: Renenerate. * gnulib/configure: Renenerate. * gnulib/import/Makefile.am: Renenerate. * gnulib/import/Makefile.in: Renenerate. * gnulib/import/m4/gnulib-cache.m4: Renenerate. * gnulib/import/m4/gnulib-comp.m4: Renenerate. * gnulib/import/m4/off_t.m4: New file. * gnulib/import/m4/ssize_t.m4: New file. * gnulib/import/m4/sys_types_h.m4: New file. * gnulib/import/m4/unistd_h.m4: New file. * gnulib/import/sys_types.in.h: New file. * gnulib/import/unistd.c: New file. * gnulib/import/unistd.in.h: New file. --- gdb/gnulib/Makefile.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gdb/gnulib/Makefile.in') diff --git a/gdb/gnulib/Makefile.in b/gdb/gnulib/Makefile.in index e74b601..727056c 100644 --- a/gdb/gnulib/Makefile.in +++ b/gdb/gnulib/Makefile.in @@ -235,10 +235,14 @@ aclocal_m4_deps = \ import/m4/memmem.m4 \ import/m4/mmap-anon.m4 \ import/m4/multiarch.m4 \ + import/m4/off_t.m4 \ + import/m4/ssize_t.m4 \ import/m4/stdbool.m4 \ import/m4/stddef_h.m4 \ import/m4/stdint.m4 \ import/m4/string_h.m4 \ + import/m4/sys_types_h.m4 \ + import/m4/unistd_h.m4 \ import/m4/warn-on-use.m4 \ import/m4/wchar_h.m4 \ import/m4/wchar_t.m4 \ -- cgit v1.1