This is the mail archive of the libc-alpha@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

glibc-2.0.95: sysdeps/unix/sysv/linux/sigstack.c won't compile


I'm getting:

../sysdeps/unix/sysv/linux/sigstack.c: In function `sigstack':
../sysdeps/unix/sysv/linux/sigstack.c:32: `NULL' undeclared (first use in
this function)
../sysdeps/unix/sysv/linux/sigstack.c:32: (Each undeclared identifier is
reported only once
../sysdeps/unix/sysv/linux/sigstack.c:32: for each function it appears in.)
m

Looking at other files in the same directory, the fix seems to be:

--- glibc-2.0.95/sysdeps/unix/sysv/linux/sigstack.c.dist	Fri Jun 19 16:07:06 1998
+++ glibc-2.0.95/sysdeps/unix/sysv/linux/sigstack.c	Sun Aug  2 09:28:27 1998
@@ -18,6 +18,7 @@
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
+#include <stddef.h>
 #include <signal.h>
 #include <sys/syscall.h>
 
-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile                               +56 32 672616


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]