aboutsummaryrefslogtreecommitdiff
path: root/include/chattymalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/chattymalloc.h')
-rw-r--r--include/chattymalloc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/chattymalloc.h b/include/chattymalloc.h
index e009eff..4e8100f 100644
--- a/include/chattymalloc.h
+++ b/include/chattymalloc.h
@@ -19,6 +19,7 @@ along with chattymalloc. If not, see <http://www.gnu.org/licenses/>.
#include <stdint.h> // uint8_t
#include <sys/types.h> // pid_t
+#include <time.h> // pid_t
enum functions {
UNINITIALIZED,
@@ -35,6 +36,7 @@ enum functions {
};
typedef struct trace {
+ struct timespec duration;
void *ptr;
size_t size;
size_t var_arg;