diff lib/copy-file.c @ 6751:1b0092424a44

Include <unistd.h> unconditionally.
author Bruno Haible <bruno@clisp.org>
date Mon, 24 Apr 2006 11:38:06 +0000
parents 96c32553b4c6
children 1c4ed7637c24
line wrap: on
line diff
--- a/lib/copy-file.c
+++ b/lib/copy-file.c
@@ -1,5 +1,5 @@
 /* Copying of files.
-   Copyright (C) 2001-2003 Free Software Foundation, Inc.
+   Copyright (C) 2001-2003, 2006 Free Software Foundation, Inc.
    Written by Bruno Haible <haible@clisp.cons.org>, 2001.
 
    This program is free software; you can redistribute it and/or modify
@@ -28,10 +28,7 @@
 #include <fcntl.h>
 #include <stddef.h>
 #include <sys/stat.h>
-
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
 
 #if HAVE_UTIME || HAVE_UTIMES
 # if HAVE_UTIME_H