* defs.h: Unconditionally include <sys/types.h>.
authorMark Kettenis <kettenis@gnu.org>
Mon, 9 May 2005 17:20:18 +0000 (17:20 +0000)
committerMark Kettenis <kettenis@gnu.org>
Mon, 9 May 2005 17:20:18 +0000 (17:20 +0000)
gdb/ChangeLog
gdb/defs.h

index 090b5c815f6895ae47fb813cc31473be3a3ef59e..358aa8d62eba08c39db35876878d95dda66f2454 100644 (file)
@@ -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
index dcb9eb28d4a15f2226cbca86089383d545aa9657..9b5171298a36f6d53359f0f679ee3dab393be1c6 100644 (file)
 
 #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