aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2008-10-08 16:53:29 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>2008-10-08 16:53:29 +0000
commitde8a05ff342b2a73e62b8d3c623222a059a46259 (patch)
treead9e14d3afbfcc545f417de3aedddd2ee2c0f230 /libiberty
parent8cc9115f57ec3d53458390707520d0834eb9a3f5 (diff)
downloadgdb-de8a05ff342b2a73e62b8d3c623222a059a46259.zip
gdb-de8a05ff342b2a73e62b8d3c623222a059a46259.tar.gz
gdb-de8a05ff342b2a73e62b8d3c623222a059a46259.tar.bz2
* xstrdup.c: Include <sys/types.h> after "config.h".
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/xstrdup.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index c79b3b7..18b1250 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,7 @@
+2008-10-08 David Edelsohn <edelsohn@gnu.org>
+
+ * xstrdup.c: Include <sys/types.h> after "config.h".
+
2008-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
* configure.ac: Call AC_SYS_LARGEFILE.
diff --git a/libiberty/xstrdup.c b/libiberty/xstrdup.c
index 9ac2ea0..fa12c96 100644
--- a/libiberty/xstrdup.c
+++ b/libiberty/xstrdup.c
@@ -13,10 +13,10 @@ obtain memory.
*/
-#include <sys/types.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+#include <sys/types.h>
#ifdef HAVE_STRING_H
#include <string.h>
#else