configure: attempt to link against tcmalloc by default if available
[fio.git] / smalloc.h
index f9a5e410fae79b570973a708c95f713912d8e40c..8df10e6f67fd401defbb99b3e68ab0ab15a9d619 100644 (file)
--- a/smalloc.h
+++ b/smalloc.h
@@ -1,7 +1,10 @@
 #ifndef FIO_SMALLOC_H
 #define FIO_SMALLOC_H
 
+#include <stddef.h>
+
 extern void *smalloc(size_t);
+extern void *scalloc(size_t, size_t);
 extern void sfree(void *);
 extern char *smalloc_strdup(const char *);
 extern void sinit(void);