From 3342f88dec9af581385a52a9add92c40c0939b6d Mon Sep 17 00:00:00 2001 From: maximilian attems Date: Sun, 7 Sep 2008 21:57:24 +0200 Subject: [PATCH] partx: don't redeclare daddr_t MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- partx/solaris.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/partx/solaris.c b/partx/solaris.c index 86a3e364..24075aed 100644 --- a/partx/solaris.c +++ b/partx/solaris.c @@ -1,12 +1,11 @@ #include #include /* time_t */ +#include #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 */ -- 2.39.5