klibc porting fix, use proper include, nuke redefinition. solaris.c:8: error: redefinition of typedef ‘daddr_t’ /usr/lib/klibc/include/sys/types.h:29: error: previous declaration of ‘daddr_t’ was here Signed-off-by: maximilian attems <max@xxxxxxx> diff --git a/partx/solaris.c b/partx/solaris.c index 86a3e36..24075ae 100644 --- a/partx/solaris.c +++ b/partx/solaris.c @@ -1,12 +1,11 @@ #include <stdio.h> #include <time.h> /* time_t */ +#include <sys/types.h> #include "partx.h" #define SOLARIS_X86_NUMSLICE 8 #define SOLARIS_X86_VTOC_SANE (0x600DDEEEUL) -typedef int daddr_t; /* or long - check */ - struct solaris_x86_slice { unsigned short s_tag; /* ID tag of partition */ unsigned short s_flag; /* permision flags */ -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html