diff options
author | David Edelsohn <edelsohn@gnu.org> | 2008-10-08 16:51:38 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2008-10-08 12:51:38 -0400 |
commit | 0c9e84247ea09de90e753ae059b0b64c17b2964e (patch) | |
tree | 446727d516a9513f06a8453510732d5c8c050863 /libiberty | |
parent | 08bf5bb38b4518c6cf1a38676418abe4864b2896 (diff) |
* xstrdup.c: Include <sys/types.h> after "config.h"
From-SVN: r140979
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 4 | ||||
-rw-r--r-- | libiberty/xstrdup.c | 2 |
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 |