diff options
author | Mark Kettenis <kettenis@gnu.org> | 2005-05-09 17:20:18 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2005-05-09 17:20:18 +0000 |
commit | 8b04f8b6efd558d50aec658e812eddba0892b2b5 (patch) | |
tree | 755e1790c82f233c006fdb21241048a57dd95c84 /gdb | |
parent | 34d9ee9e68940274e34bf5de84f46119ecd66855 (diff) | |
download | gdb-8b04f8b6efd558d50aec658e812eddba0892b2b5.zip gdb-8b04f8b6efd558d50aec658e812eddba0892b2b5.tar.gz gdb-8b04f8b6efd558d50aec658e812eddba0892b2b5.tar.bz2 |
* defs.h: Unconditionally include <sys/types.h>.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/defs.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 090b5c8..358aa8d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2005-05-09 Mark Kettenis <kettenis@gnu.org> + + * defs.h: Unconditionally include <sys/types.h>. + 2005-05-08 Daniel Jacobowitz <dan@codesourcery.com> * mips-tdep.c (mips_stub_frame_sniffer): Handle .MIPS.stubs @@ -26,14 +26,13 @@ #include "config.h" /* Generated by configure. */ +#include <sys/types.h> #include <stdio.h> #include <errno.h> /* System call error return status. */ #include <limits.h> #ifdef HAVE_STDDEF_H #include <stddef.h> -#else -#include <sys/types.h> /* For size_t. */ #endif #ifdef HAVE_UNISTD_H |