Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit e9a3fa2

Browse files
committed
Add missing header includes in jemalloc/jemalloc.h .
Add stdlib.h, stdbool.h, and stdint.h to jemalloc/jemalloc.h so that applications only have to #include <jemalloc/jemalloc.h>. This resolves jemalloc#132.
1 parent f04a0be commit e9a3fa2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

doc/jemalloc.xml.in

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@
5757
<refsynopsisdiv>
5858
<title>SYNOPSIS</title>
5959
<funcsynopsis>
60-
<funcsynopsisinfo>#include &lt;<filename class="headerfile">stdlib.h</filename>&gt;
61-
#include &lt;<filename class="headerfile">jemalloc/jemalloc.h</filename>&gt;</funcsynopsisinfo>
60+
<funcsynopsisinfo>#include &lt;<filename class="headerfile">jemalloc/jemalloc.h</filename>&gt;</funcsynopsisinfo>
6261
<refsect2>
6362
<title>Standard API</title>
6463
<funcprototype>

include/jemalloc/jemalloc_macros.h.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#include <stdlib.h>
2+
#include <stdbool.h>
3+
#include <stdint.h>
14
#include <limits.h>
25
#include <strings.h>
36

0 commit comments

Comments
 (0)