]> git.saurik.com Git - apple/file_cmds.git/blobdiff - install/xinstall.c
file_cmds-251.tar.gz
[apple/file_cmds.git] / install / xinstall.c
index e70342b0cd9b39cb8b4b222e51d0b24a70996b87..05b650093d9ef27c01cd9d38885aa0b3daedf6af 100644 (file)
@@ -31,8 +31,9 @@
  * SUCH DAMAGE.
  */
 
+#include <sys/cdefs.h>
 #ifndef lint
-static const char copyright[] =
+__used static const char copyright[] =
 "@(#) Copyright (c) 1987, 1993\n\
        The Regents of the University of California.  All rights reserved.\n";
 #endif /* not lint */
@@ -41,7 +42,7 @@ static const char copyright[] =
 #if 0
 static char sccsid[] = "From: @(#)xinstall.c   8.1 (Berkeley) 7/21/93";
 #endif
-static const char rcsid[] =
+__used static const char rcsid[] =
   "$FreeBSD: src/usr.bin/xinstall/xinstall.c,v 1.43 2001/05/30 07:08:49 ru Exp $";
 #endif /* not lint */
 
@@ -67,6 +68,7 @@ static const char rcsid[] =
 #include <spawn.h>
 
 #ifdef __APPLE__
+#include <TargetConditionals.h>
 #include <copyfile.h>
 #endif /* __APPLE__ */