diff options
author | Matt Johnston <matt@ucc.asn.au> | 2021-03-04 21:03:02 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2021-03-04 21:03:02 +0800 |
commit | 03481aba068e534063f58ffaa4e8c2c060fa6e14 (patch) | |
tree | ece330526fa74a31bc2f2c7c9387939c65753cc1 /dbmalloc.h | |
parent | 8b0fdf8010969204a443e877868fca772d18f31c (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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |