From 90aaccd1f26c3ac0dc5963d6db4b0f0fcfc2c1d6 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 26 Jul 2000 23:24:05 +0000 Subject: * Makefile.in (rename.o, waitpid.o): Depend on config.h * rename.c: include config.h, unistd.h * waitpid.c: include config.h, sys/wait.h --- libiberty/rename.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libiberty/rename.c') diff --git a/libiberty/rename.c b/libiberty/rename.c index ae26e2d..2e9dec1 100644 --- a/libiberty/rename.c +++ b/libiberty/rename.c @@ -3,7 +3,13 @@ /* Rename a file. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include +#ifdef HAVE_UNISTD_H +#include +#endif int rename (zfrom, zto) -- cgit v1.1