X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=restore%2Futilities.c;h=e897344a1e0a85ef5bec3d5f0bdb9aee51fae362;hp=627e147875ee44d5454aa4f8810f8462e852ed97;hb=fe0e02857a1ff7db4bf8cb28780de7ecf2f24234;hpb=633963a251fb12a63e43a7f6f2391dc9507972a7 diff --git a/restore/utilities.c b/restore/utilities.c index 627e147..e897344 100644 --- a/restore/utilities.c +++ b/restore/utilities.c @@ -41,7 +41,7 @@ #ifndef lint static const char rcsid[] = - "$Id: utilities.c,v 1.19 2002/01/25 15:09:00 stelian Exp $"; + "$Id: utilities.c,v 1.20 2002/02/04 11:18:46 stelian Exp $"; #endif /* not lint */ #include @@ -236,7 +236,7 @@ linkit(char *existing, char *new, int type) if (!Nflag && (ret = link(existing, new)) < 0) { -#ifndef __linux__ +#if !defined(__linux__) && !defined(sunos) struct stat s; /* @@ -276,7 +276,7 @@ linkit(char *existing, char *new, int type) return (GOOD); } -#ifndef __linux__ +#if !defined(__linux__) && !defined(sunos) /* * Create a whiteout. */