Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Apr 2015 09:57:02 GMT
From:      def@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r284783 - in soc2013/def/crashdump-head: sbin/savecore sys/sys
Message-ID:  <201504290957.t3T9v25g034839@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504290957.t3T9v25g034839>