socsvn commit: r284783 - in soc2013/def/crashdump-head: sbin/savecore sys/sys
def at FreeBSD.org
def at FreeBSD.org
Wed Apr 29 09:57:03 UTC 2015
Author: def
Date: Wed Apr 29 09:57:01 2015
New Revision: 284783
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=284783
Log:
Include Rijndael only in kernel.
Modified:
soc2013/def/crashdump-head/sbin/savecore/Makefile
soc2013/def/crashdump-head/sys/sys/kerneldump.h
Modified: soc2013/def/crashdump-head/sbin/savecore/Makefile
==============================================================================
--- soc2013/def/crashdump-head/sbin/savecore/Makefile Wed Apr 29 09:50:20 2015 (r284782)
+++ soc2013/def/crashdump-head/sbin/savecore/Makefile Wed Apr 29 09:57:01 2015 (r284783)
@@ -4,6 +4,4 @@
LIBADD= z xo
MAN= savecore.8
-CFLAGS+=-I${.CURDIR}/../../sys
-
.include <bsd.prog.mk>
Modified: soc2013/def/crashdump-head/sys/sys/kerneldump.h
==============================================================================
--- soc2013/def/crashdump-head/sys/sys/kerneldump.h Wed Apr 29 09:50:20 2015 (r284782)
+++ soc2013/def/crashdump-head/sys/sys/kerneldump.h Wed Apr 29 09:57:01 2015 (r284783)
@@ -38,9 +38,12 @@
#ifndef _SYS_KERNELDUMP_H
#define _SYS_KERNELDUMP_H
-#include <crypto/rijndael/rijndael-api-fst.h>
#include <machine/endian.h>
+#ifdef _KERNEL
+#include <crypto/rijndael/rijndael-api-fst.h>
+#endif
+
#if BYTE_ORDER == LITTLE_ENDIAN
#define dtoh32(x) __bswap32(x)
#define dtoh64(x) __bswap64(x)
More information about the svn-soc-all
mailing list