Mercurial > dovecot > core-2.2
changeset 19190:55e6910aed18
lib: Include stdlib.h in lib.h.
It's already included in so many files that we might as well include it in
lib.h for everything. This is especially needed to be able to use sort.h,
which currently is included in lib.h anyway.
author | Teemu Huovila <teemu.huovila@dovecot.fi> |
---|---|
date | Wed, 23 Sep 2015 14:52:44 +0300 |
parents | 1afdeb1cae62 |
children | 9e120590e0ef |
files | src/lib/lib.h |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib/lib.h Tue Sep 22 22:33:41 2015 -0600 +++ b/src/lib/lib.h Wed Sep 23 14:52:44 2015 +0300 @@ -8,6 +8,7 @@ /* default system includes - keep these at minimum.. */ #include <stddef.h> /* Solaris defines NULL wrong unless this is used */ +#include <stdlib.h> #include <string.h> /* strcmp() etc. */ #ifdef HAVE_STRINGS_H # include <strings.h> /* strcasecmp() etc. */