mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 01:01:06 +00:00
![Konstantin Belousov](/assets/img/avatar_default.png)
Lot of third-party Linux code uses #include <malloc.h>, expecting to find the malloc extensions there. Instead of trying to fight them, accept that attempt to deprecate the header causes more troubles than solves potential portability issues, and provide our jemalloc extensions. PR: 155429 Reviewed by: imp, jhibbits, dab, hselasky, philip, emaste, jilles Exp-run by: antoine (PR 245366) Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D24297
7 lines
102 B
C
7 lines
102 B
C
/*-
|
|
* This file is in the public domain.
|
|
* $FreeBSD$
|
|
*/
|
|
#include <stdlib.h>
|
|
#include <malloc_np.h>
|