[dovecot-cvs] dovecot/src/auth userinfo-passwd.h,1.2,1.3

cras at procontrol.fi cras at procontrol.fi
Tue Nov 26 19:45:48 EET 2002


Update of /home/cvs/dovecot/src/auth
In directory danu:/tmp/cvs-serv24024

Modified Files:
	userinfo-passwd.h 
Log Message:
compile fix for netbsd-current.



Index: userinfo-passwd.h
===================================================================
RCS file: /home/cvs/dovecot/src/auth/userinfo-passwd.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- userinfo-passwd.h	4 Nov 2002 05:04:04 -0000	1.2
+++ userinfo-passwd.h	26 Nov 2002 17:45:45 -0000	1.3
@@ -7,6 +7,10 @@
 #endif
 #define _XPG4_2
 
+/* Do this first so we're not (hopefully) affected by the temporary
+   _XOPEN_SOURCE define. Required to compile with new NetBSDs (around 1.6K) */
+#include <sys/types.h>
+
 /* _XOPEN_SOURCE is required for crypt(). However with Solaris 8 it breaks
    a few other header files so keep it defined only for unistd.h */
 #define _XOPEN_SOURCE 4 /* needed for crypt() */




More information about the dovecot-cvs mailing list