From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24316 invoked by alias); 26 Mar 2005 14:21:17 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 24119 invoked from network); 26 Mar 2005 14:21:13 -0000 Received: from unknown (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org with SMTP; 26 Mar 2005 14:21:13 -0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.0/8.13.0) with ESMTP id j2QEL65R017851; Sat, 26 Mar 2005 15:21:06 +0100 (CET) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.3/8.13.3) with ESMTP id j2QEL6rf022721; Sat, 26 Mar 2005 15:21:06 +0100 (CET) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.3/8.13.3/Submit) id j2QEL6ll019253; Sat, 26 Mar 2005 15:21:06 +0100 (CET) Date: Sun, 27 Mar 2005 18:48:00 -0000 Message-Id: <200503261421.j2QEL6ll019253@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: gcc-patches@gcc.gnu.org CC: binutils@sourceware.org, gdb@sourceware.org Subject: [PATCH/libiberty] Add missing in unlink-if-ordinary.c X-SW-Source: 2005-03/txt/msg00794.txt.bz2 One really shouldn't include without on BSD-derived systems. On most modern BSD's it is brought in by but vax-dec-ultrix4.0 doesn't have one, so things break. The attached patch fixes that. ok? Mark Index: ChangeLog from Mark Kettenis * unlink-if-ordinary.c: Include . Index: unlink-if-ordinary.c =================================================================== RCS file: /cvs/src/src/libiberty/unlink-if-ordinary.c,v retrieving revision 1.1 diff -u -p -r1.1 unlink-if-ordinary.c --- unlink-if-ordinary.c 1 Mar 2005 14:33:00 -0000 1.1 +++ unlink-if-ordinary.c 26 Mar 2005 14:18:20 -0000 @@ -39,6 +39,8 @@ was made to unlink the file because it i #include "config.h" #endif +#include + #ifdef HAVE_UNISTD_H #include #endif