Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/crypto/rijndael When compiling for userland, need <stdli...



details:   https://anonhg.NetBSD.org/src/rev/d17b79e02899
branches:  trunk
changeset: 519986:d17b79e02899
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Dec 31 20:20:28 2001 +0000

description:
When compiling for userland, need <stdlib.h> for abort() prototype
(noticed by gcc 3.1).

diffstat:

 sys/crypto/rijndael/rijndael-api-fst.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 8f7aea38ec24 -r d17b79e02899 sys/crypto/rijndael/rijndael-api-fst.c
--- a/sys/crypto/rijndael/rijndael-api-fst.c    Mon Dec 31 20:19:14 2001 +0000
+++ b/sys/crypto/rijndael/rijndael-api-fst.c    Mon Dec 31 20:20:28 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rijndael-api-fst.c,v 1.9 2001/11/15 09:48:02 lukem Exp $       */
+/*     $NetBSD: rijndael-api-fst.c,v 1.10 2001/12/31 20:20:28 thorpej Exp $    */
 /*     $KAME: rijndael-api-fst.c,v 1.8 2001/03/02 05:53:05 itojun Exp $        */
 
 /*
@@ -17,12 +17,13 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rijndael-api-fst.c,v 1.9 2001/11/15 09:48:02 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rijndael-api-fst.c,v 1.10 2001/12/31 20:20:28 thorpej Exp $");
 
 #include <sys/param.h>
 #ifdef _KERNEL
 #include <sys/systm.h>
 #else
+#include <stdlib.h>
 #include <string.h>
 #endif
 #include <crypto/rijndael/rijndael-alg-fst.h>



Home | Main Index | Thread Index | Old Index