[dovecot-cvs] dovecot/src/lib lib.h,1.13,1.14

cras at procontrol.fi cras at procontrol.fi
Mon May 10 03:40:44 EEST 2004


Update of /home/cvs/dovecot/src/lib
In directory talvi:/tmp/cvs-serv30655/src/lib

Modified Files:
	lib.h 
Log Message:
Define PREAD_WRAPPERS if we're using GLIBC, not if we're using Linux.
Removed a few ANSI-C header checks. Added strings.h check and include it
automatically if it's found, for strcasecmp().



Index: lib.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib/lib.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- lib.h	5 Jan 2003 13:09:51 -0000	1.13
+++ lib.h	10 May 2004 00:40:42 -0000	1.14
@@ -8,6 +8,9 @@
 
 /* default system includes - keep these at minimum.. */
 #include <string.h> /* strcmp() etc. */
+#ifdef HAVE_STRINGS_H
+#  include <strings.h> /* strcasecmp() etc. */
+#endif
 #include <stdarg.h> /* va_list is used everywhere */
 #include <limits.h> /* INT_MAX, etc. */
 #include <errno.h> /* error checking is good */



More information about the dovecot-cvs mailing list