From: Jérôme Gardou Date: Tue, 4 Mar 2014 21:28:25 +0000 (+0000) Subject: [VFATLIB] X-Git-Tag: ReactOS-0.3.16-CLT2014~12 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=73100dd557ed198c035d8591a72164e166fa243e [VFATLIB] - remove useless dependency to psdk svn path=/trunk/; revision=62418 --- diff --git a/reactos/lib/fslib/vfatlib/CMakeLists.txt b/reactos/lib/fslib/vfatlib/CMakeLists.txt index e0f18c01d9b..7df11959eb2 100644 --- a/reactos/lib/fslib/vfatlib/CMakeLists.txt +++ b/reactos/lib/fslib/vfatlib/CMakeLists.txt @@ -15,4 +15,3 @@ list(APPEND SOURCE add_library(vfatlib ${SOURCE}) add_pch(vfatlib vfatlib.h SOURCE) -add_dependencies(vfatlib psdk) diff --git a/reactos/lib/fslib/vfatlib/check/io.c b/reactos/lib/fslib/vfatlib/check/io.c index 36e0605b01f..54ac65f308e 100644 --- a/reactos/lib/fslib/vfatlib/check/io.c +++ b/reactos/lib/fslib/vfatlib/check/io.c @@ -211,7 +211,7 @@ void fs_write(loff_t pos,int size,void *data) const size_t readsize_aligned = (size % 512) ? (size + (512 - (size % 512))) : size; const loff_t seekpos_aligned = pos - (pos % 512); const size_t seek_delta = (size_t)(pos - seekpos_aligned); - boolean use_read = (seek_delta != 0) || ((readsize_aligned-size) != 0); + BOOLEAN use_read = (seek_delta != 0) || ((readsize_aligned-size) != 0); /* Aloc temp buffer if write is not aligned */ if (use_read) diff --git a/reactos/lib/fslib/vfatlib/check/lfn.c b/reactos/lib/fslib/vfatlib/check/lfn.c index fc0b7827b8d..1fdd9fc61f1 100644 --- a/reactos/lib/fslib/vfatlib/check/lfn.c +++ b/reactos/lib/fslib/vfatlib/check/lfn.c @@ -3,6 +3,7 @@ /* Written 1998 by Roman Hodek */ #include "vfatlib.h" +#include #define NDEBUG #include diff --git a/reactos/lib/fslib/vfatlib/vfatlib.h b/reactos/lib/fslib/vfatlib/vfatlib.h index d83831d6c94..2b1302f8390 100644 --- a/reactos/lib/fslib/vfatlib/vfatlib.h +++ b/reactos/lib/fslib/vfatlib/vfatlib.h @@ -14,7 +14,6 @@ #define COM_NO_WINDOWS_H #include #include -#include #define NTOS_MODE_USER #include #include