summaryrefslogtreecommitdiffhomepage
path: root/dbmalloc.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2021-03-04 21:03:02 +0800
committerMatt Johnston <matt@ucc.asn.au>2021-03-04 21:03:02 +0800
commit03481aba068e534063f58ffaa4e8c2c060fa6e14 (patch)
treeece330526fa74a31bc2f2c7c9387939c65753cc1 /dbmalloc.h
parent8b0fdf8010969204a443e877868fca772d18f31c (diff)
Define _GNU_SOURCE properly, other header fixes
This lets -std=c89 build for gcc 8.4.0
Diffstat (limited to 'dbmalloc.h')
-rw-r--r--dbmalloc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbmalloc.h b/dbmalloc.h
index d5e814e..e5554e8 100644
--- a/dbmalloc.h
+++ b/dbmalloc.h
@@ -1,9 +1,9 @@
#ifndef DBMALLOC_H_
#define DBMALLOC_H_
-#include "stdint.h"
-#include "stdlib.h"
#include "options.h"
+#include <stdint.h>
+#include <stdlib.h>
void * m_malloc(size_t size);
void * m_calloc(size_t nmemb, size_t size);