[DRBD-user] drbd-8.0.8.tar.gz

Lars Ellenberg lars.ellenberg at linbit.com
Tue Dec 11 16:12:56 CET 2007

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.

On Tue, Dec 11, 2007 at 11:46:03AM +0100, Thomas Althoff wrote:
> Thanks.
> My box is x86_64, i think you already understood that.
> [root at cl-db2 drbd-8.0.8]# uname -a
> Linux cl-db2.mainloop.net 2.6.18-53.1.4.el5 #1 SMP Fri Nov 30 00:45:55
> EST 2007 x86_64 x86_64 x86_64 GNU/Linux

aparently while fixing the bitfield endianess,
an include statement was dropped, which on some x86_64 distributions
(read: versions of userland include files) lead to conflicting typedefs.
it should be enough to add it back in:

diff --git a/drbd/linux/drbd.h b/drbd/linux/drbd.h
index 9ea83d7..a8c95d6 100644
--- a/drbd/linux/drbd.h
+++ b/drbd/linux/drbd.h
@@ -27,6 +27,8 @@
 #define DRBD_H
 #include <linux/drbd_config.h>

+#include <asm/types.h>
 #ifdef __KERNEL__
 #include <linux/types.h>
 #include <asm/byteorder.h>

: Lars Ellenberg                           http://www.linbit.com :
: DRBD/HA support and consulting             sales at linbit.com :
: LINBIT Information Technologies GmbH      Tel +43-1-8178292-0  :
: Vivenotgasse 48, A-1120 Vienna/Europe     Fax +43-1-8178292-82 :
please use the "List-Reply" function of your email client.

More information about the drbd-user mailing list