diff options
author | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-28 17:17:02 +0000 |
---|---|---|
committer | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-28 17:17:02 +0000 |
commit | 0bd5e4e1816012bed3310ee7ac99fff97364a890 (patch) | |
tree | 4992d3d29bc0412417617bf4b56d0eb34bcd75cb /libiberty | |
parent | e907e77f77e7d68d8c73f6f5b18a8a3eba52c4fc (diff) | |
download | ppe42-gcc-0bd5e4e1816012bed3310ee7ac99fff97364a890.tar.gz ppe42-gcc-0bd5e4e1816012bed3310ee7ac99fff97364a890.zip |
* unlink-if-ordinary.c: Include <sys/types.h>.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97134 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 4 | ||||
-rw-r--r-- | libiberty/unlink-if-ordinary.c | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 683df3f8e66..569a25ff5ac 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,7 @@ +2005-03-28 Mark Kettenis <kettenis@gnu.org> + + * unlink-if-ordinary.c: Include <sys/types.h>. + 2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net> Convert libiberty to use ISO C prototype style 7/n. diff --git a/libiberty/unlink-if-ordinary.c b/libiberty/unlink-if-ordinary.c index a389ad4e3dc..1f21806b8a6 100644 --- a/libiberty/unlink-if-ordinary.c +++ b/libiberty/unlink-if-ordinary.c @@ -1,5 +1,5 @@ /* unlink-if-ordinary.c - remove link to a file unless it is special - Copyright (C) 2004 Free Software Foundation, Inc. + Copyright (C) 2004, 2005 Free Software Foundation, Inc. This file is part of the libiberty library. This library is free software; you can redistribute it and/or modify it under the @@ -39,6 +39,8 @@ was made to unlink the file because it is special. #include "config.h" #endif +#include <sys/types.h> + #ifdef HAVE_UNISTD_H #include <unistd.h> #endif |