X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=restore%2Finteractive.c;h=ecbffda09e8a3dde54e457f666529feb24fa1253;hp=c1b8aa2a2a064821108ef69281768dbc3544e7e8;hb=c5e38bc12e0a29762e7a4561c815ab8a7c8ade56;hpb=a18d599791e977f3e3d26123031e6ed4e64d6d08 diff --git a/restore/interactive.c b/restore/interactive.c index c1b8aa2..ecbffda 100644 --- a/restore/interactive.c +++ b/restore/interactive.c @@ -18,11 +18,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors + * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * @@ -41,10 +37,11 @@ #ifndef lint static const char rcsid[] = - "$Id: interactive.c,v 1.25 2002/07/19 14:57:39 stelian Exp $"; + "$Id: interactive.c,v 1.27 2003/10/26 16:05:48 stelian Exp $"; #endif /* not lint */ #include +#include #include #include @@ -56,8 +53,13 @@ static const char rcsid[] = #endif #include #else /* __linux__ */ +#ifdef sunos +#include +#include +#else #include #include +#endif #endif /* __linux__ */ #include @@ -71,6 +73,9 @@ static const char rcsid[] = #ifdef __linux__ #include +#endif + +#if defined(__linux__) || defined(sunos) extern char * __progname; #endif