merge from gcc

This commit is contained in:
DJ Delorie 2005-03-28 18:02:14 +00:00
parent e064c173c6
commit 864e8148e9
2 changed files with 7 additions and 1 deletions

View File

@ -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.

View File

@ -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