summaryrefslogtreecommitdiff
blob: 5cb4cf809b12ea82ddbc25fe8c967793f6e1a532 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
https://svnweb.freebsd.org/base?view=revision&revision=281606

diff --git a/sys/crypto/aesni/aesencdec.h b/sys/crypto/aesni/aesencdec.h
index d4ed8b3..79847ee 100644
--- a/sys/crypto/aesni/aesencdec.h
+++ b/sys/crypto/aesni/aesencdec.h
@@ -27,6 +27,11 @@
  *
  */
 
+#if defined(__GNUC__) && defined(_KERNEL)
+/* Suppress inclusion of gcc's mm_malloc.h header */
+#define _MM_MALLOC_H_INCLUDED 1
+#endif
+
 #include <wmmintrin.h>
 
 static inline void