summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/malloc_np.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/malloc_np.h b/include/malloc_np.h
index bacb805..bd45d19 100644
--- a/include/malloc_np.h
+++ b/include/malloc_np.h
@@ -31,7 +31,11 @@
#ifndef _MALLOC_NP_H_
#define _MALLOC_NP_H_
+#include <sys/cdefs.h>
+#include <sys/types.h>
+__BEGIN_DECLS
size_t malloc_usable_size(const void *ptr);
+__END_DECLS
#endif /* _MALLOC_NP_H_ */
OpenPOWER on IntegriCloud