[dovecot-cvs] dovecot/src/lib lib.h,1.21,1.22

tss at dovecot.org tss at dovecot.org
Sat Nov 4 18:43:29 UTC 2006


Update of /var/lib/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv28479

Modified Files:
	lib.h 
Log Message:
Include stddef.h always to make NULL expand correctly in Solaris.



Index: lib.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/lib.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- lib.h	28 Jun 2006 13:10:33 -0000	1.21
+++ lib.h	4 Nov 2006 18:43:26 -0000	1.22
@@ -7,6 +7,7 @@
 #endif
 
 /* default system includes - keep these at minimum.. */
+#include <stddef.h> /* Solaris defines NULL wrong unless this is used */
 #include <string.h> /* strcmp() etc. */
 #ifdef HAVE_STRINGS_H
 #  include <strings.h> /* strcasecmp() etc. */



More information about the dovecot-cvs mailing list