OSDN Git Service

* defs.h: Unconditionally include <sys/types.h>.
authorkettenis <kettenis>
Mon, 9 May 2005 17:20:18 +0000 (17:20 +0000)
committerkettenis <kettenis>
Mon, 9 May 2005 17:20:18 +0000 (17:20 +0000)
gdb/defs.h

index dcb9eb2..9b51712 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