summaryrefslogtreecommitdiff
path: root/libiberty/rename.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-26 23:23:24 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-26 23:23:24 +0000
commita1d4f79a96eef8097e4f6c3315a6195adc0406d7 (patch)
tree38e19c2b4f1cdb4ed784b4496b8058696ee32924 /libiberty/rename.c
parent8e1b28268cedb4d354e4b7ad24bfd513cdf9e6d1 (diff)
downloadgcc-a1d4f79a96eef8097e4f6c3315a6195adc0406d7.tar.gz
* 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 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35272 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/rename.c')
-rw-r--r--libiberty/rename.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libiberty/rename.c b/libiberty/rename.c
index ae26e2d0040..2e9dec18fa1 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 <errno.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
int
rename (zfrom, zto)