aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-05-09 17:20:18 +0000
committerMark Kettenis <kettenis@gnu.org>2005-05-09 17:20:18 +0000
commit8b04f8b6efd558d50aec658e812eddba0892b2b5 (patch)
tree755e1790c82f233c006fdb21241048a57dd95c84 /gdb/defs.h
parent34d9ee9e68940274e34bf5de84f46119ecd66855 (diff)
downloadgdb-8b04f8b6efd558d50aec658e812eddba0892b2b5.zip
gdb-8b04f8b6efd558d50aec658e812eddba0892b2b5.tar.gz
gdb-8b04f8b6efd558d50aec658e812eddba0892b2b5.tar.bz2
* defs.h: Unconditionally include <sys/types.h>.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index dcb9eb2..9b51712 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -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