diff -up mdadm-3.2.5/mdadm.h.types mdadm-3.2.5/mdadm.h --- mdadm-3.2.5/mdadm.h.types 2012-07-18 15:47:05.631122187 +0200 +++ mdadm-3.2.5/mdadm.h 2012-07-18 15:47:26.978368930 +0200 @@ -24,6 +24,7 @@ #define _GNU_SOURCE #define _FILE_OFFSET_BITS 64 +#include #include #if !defined(__dietlibc__) && !defined(__KLIBC__) extern __off64_t lseek64 __P ((int __fd, __off64_t __offset, int __whence)); diff -up mdadm-3.2.5/msg.c.types mdadm-3.2.5/msg.c --- mdadm-3.2.5/msg.c.types 2012-07-18 16:12:40.287970913 +0200 +++ mdadm-3.2.5/msg.c 2012-07-18 16:12:56.231408340 +0200 @@ -19,6 +19,7 @@ #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif +#include "mdadm.h" #include #include #include @@ -28,7 +29,6 @@ #include #include #include -#include "mdadm.h" #include "mdmon.h" static const __u32 start_magic = 0x5a5aa5a5;