[dovecot-cvs] dovecot/src/lib compat.h,1.33,1.34

cras at dovecot.org cras at dovecot.org
Sun Jan 22 18:10:54 EET 2006


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

Modified Files:
	compat.h 
Log Message:
Include sys/mkdev.h with UnixWare for major() and minor()



Index: compat.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib/compat.h,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- compat.h	22 Jan 2006 15:53:48 -0000	1.33
+++ compat.h	22 Jan 2006 16:10:52 -0000	1.34
@@ -53,6 +53,9 @@
 
 #ifdef HAVE_SYS_SYSMACROS_H
 #  include <sys/sysmacros.h>
+#  ifdef HAVE_SYS_MKDEV_H
+#    include <sys/mkdev.h> /* UnixWare */
+#  endif
 #  define CMP_DEV_T(a, b) (major(a) == major(b) && minor(a) == minor(b))
 #elif !defined (DEV_T_STRUCT)
 #  define CMP_DEV_T(a, b) ((a) == (b))



More information about the dovecot-cvs mailing list