summaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2008-10-08 16:51:38 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2008-10-08 16:51:38 +0000
commita11e61475d8eff020aad687c7baeca5a284d7623 (patch)
tree446727d516a9513f06a8453510732d5c8c050863 /libiberty
parentbec7f54b1f793ca696923d45700fa3b34d792268 (diff)
downloadgcc-a11e61475d8eff020aad687c7baeca5a284d7623.tar.gz
* xstrdup.c: Include <sys/types.h> after "config.h"
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140979 138bc75d-0d04-0410-961f-82ee72b054a4
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 c79b3b75098..955e55003dd 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 9ac2ea038f3..fa12c96a3cd 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