From octave-maintainers-request at bevo dot che dot wisc dot edu Fri Feb 4 13:07:01 2000 Subject: Problem compiling today cvs on sco-unix From: Joao Cardoso To: octave-maintainers at bevo dot che dot wisc dot edu Date: Fri, 04 Feb 2000 19:06:31 +0000 Hi, This patch allows compilation on sco-3.2v4.0 bash-2.02# diff -c src/siglist.c.org src/siglist.c *** src/siglist.c.org Fri Feb 4 17:14:00 2000 --- src/siglist.c Fri Feb 4 17:14:38 2000 *************** *** 25,30 **** --- 25,31 ---- #endif #include "siglist.h" + #include #ifndef HAVE_SYS_SIGLIST char *sys_siglist[NSIG + 1] = The problem is that NSIG is declared in , wich is included by Also, sco does not have sys_siglist, instead it has _sys_siglist: bash-2.02# grep siglist /usr/include/*.h /usr/include/signal.h:extern const char * const _sys_siglist[]; but this problem is usually solved by the "#ifndef HAVE_SYS_SIGLIST" Thanks, Joao -- Joao Cardoso | e-mail: jcardoso at inescn dot pt INESC, R. Jose Falcao 110 | tel: + 351 222094322 4050 Porto, Portugal | fax: + 351 222008487