From: Teemu Huovila Date: Wed, 23 Sep 2015 11:52:44 +0000 (+0300) Subject: lib: Include stdlib.h in lib.h. X-Git-Tag: 2.2.19.rc1~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d3fa9b61b810943ac30d927329d14e4caefd1caf;p=thirdparty%2Fdovecot%2Fcore.git 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. --- diff --git a/src/lib/lib.h b/src/lib/lib.h index bec259d5c2..1501db6f11 100644 --- a/src/lib/lib.h +++ b/src/lib/lib.h @@ -8,6 +8,7 @@ /* default system includes - keep these at minimum.. */ #include /* Solaris defines NULL wrong unless this is used */ +#include #include /* strcmp() etc. */ #ifdef HAVE_STRINGS_H # include /* strcasecmp() etc. */