[dovecot-cvs] dovecot/src/lib lib.h,1.20,1.20.2.1

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


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

Modified Files:
      Tag: branch_1_0
	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.20
retrieving revision 1.20.2.1
diff -u -d -r1.20 -r1.20.2.1
--- lib.h	25 Sep 2005 10:44:04 -0000	1.20
+++ lib.h	4 Nov 2006 18:43:24 -0000	1.20.2.1
@@ -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