Date: Thu, 4 Feb 1999 14:44:04 -0800 From: "Daren R. Sefcik" <daren@partners-dsi.com> To: <freebsd-stable@FreeBSD.ORG> Subject: struct in sigaltstack wrong?? Message-ID: <010c01be508f$f2497b80$ca98f026@partnersdsi.com>
next in thread | raw e-mail | index | archive | help
While trying to compile the FWTK it would fail everytime at the /usr/include/sys/signal.h line 163 with: cc -O -pipe -I.. -D_SKEY_INTERNAL -c daemon.c In file included from daemon.c:14: /usr/include/sys/signal.h:163: parse error before `size_t' /usr/include/sys/signal.h:163: warning: no semicolon at end of struct or union /usr/include/sys/signal.h:165: parse error before `}' *** Error code 1 from the signal.h file line 163: /* * Structure used in sigaltstack call. */ struct sigaltstack { char *ss_sp; /* signal stack base */ size_t ss_size; /* signal stack length */ int ss_flags; /* SS_DISABLE and/or SS_ONSTACK */ looking at the man page for sigaltstack it uses char & long & int I changed the size_t to long and the compile finished fine. Is the signal.h file wrong or is the FWTK wrong??? any ideas?? Daren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?010c01be508f$f2497b80$ca98f026>