--- stack/stack.c 2002/03/12 15:13:48 1.106 +++ stack/stack.c 2002/03/12 21:05:11 1.107 @@ -37,12 +37,15 @@ #include /* EX_NOINPUT, EX_USAGE */ #include + +#ifdef __linux__ /* mtrace, muntrace */ #include /* ioctl */ #include /* KDMKTONE */ #include +#endif /* __linux__ */ #include "stack.h" @@ -883,7 +886,9 @@ if(env->free_string!=NULL) free(env->free_string); +#ifdef __linux__ muntrace(); +#endif exit(EXIT_SUCCESS); } @@ -958,7 +963,9 @@ int c; /* getopt option character */ +#ifdef __linux__ mtrace(); +#endif init_env(&myenv); @@ -989,7 +996,7 @@ } if(myenv.interactive) { - printf("Stack version $Revision: 1.106 $\n\ + printf("Stack version $Revision: 1.107 $\n\ Copyright (C) 2002 Mats Alritzson and Teddy Hogeborn\n\ Stack comes with ABSOLUTELY NO WARRANTY; for details type `warranty;'.\n\ This is free software, and you are welcome to redistribute it\n\ @@ -1672,6 +1679,7 @@ return sx_72656164(env); } +#ifdef __linux__ extern void beep(environment *env) { int freq, dur, period, ticks; @@ -1714,6 +1722,7 @@ abort(); } } +#endif /* __linux__ */ /* "wait" */ extern void sx_77616974(environment *env)