git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
FBSD: Handle malloc/free changes in FBSD 12
[openafs.git]
/
src
/
crypto
/
hcrypto
/
kernel
/
config.h
diff --git
a/src/crypto/hcrypto/kernel/config.h
b/src/crypto/hcrypto/kernel/config.h
index
dd7608d
..
ef89ed4
100644
(file)
--- a/
src/crypto/hcrypto/kernel/config.h
+++ b/
src/crypto/hcrypto/kernel/config.h
@@
-60,6
+60,9
@@
#define calloc _afscrypto_calloc
void * _afscrypto_calloc(int, size_t);
+#ifdef malloc
+# undef malloc
+#endif
#define malloc _afscrypto_malloc
void * _afscrypto_malloc(size_t);