[dovecot-cvs] dovecot/src/util dovecotpw.c,1.2,1.3

cras at dovecot.org cras at dovecot.org
Sun Dec 19 07:49:28 EET 2004


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

Modified Files:
	dovecotpw.c 
Log Message:
Include libgen.h only if it exists.



Index: dovecotpw.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/util/dovecotpw.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- dovecotpw.c	30 Jul 2004 03:08:03 -0000	1.2
+++ dovecotpw.c	19 Dec 2004 05:49:26 -0000	1.3
@@ -7,11 +7,14 @@
 
 #include <ctype.h>
 #include <fcntl.h>
-#include <libgen.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
 
+#ifdef HAVE_LIBGEN_H
+#  include <libgen.h>
+#endif
+
 #define DEFAULT_SCHEME "HMAC-MD5"
 
 static void



More information about the dovecot-cvs mailing list