Mercurial > dropbear
diff dbmalloc.h @ 1798:8dc43b30c6bf
Define _GNU_SOURCE properly, other header fixes
This lets -std=c89 build for gcc 8.4.0
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 04 Mar 2021 21:03:02 +0800 |
parents | d4efb7801fcd |
children |
line wrap: on
line diff
--- a/dbmalloc.h Thu Mar 04 21:02:16 2021 +0800 +++ b/dbmalloc.h Thu Mar 04 21:03:02 2021 +0800 @@ -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);