summaryrefslogtreecommitdiff
path: root/rbutil
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/ipodpatcher/ipodio.h7
-rw-r--r--rbutil/rbutilqt/base/bootloaderinstallbase.cpp2
-rw-r--r--rbutil/sansapatcher/sansaio.h4
3 files changed, 10 insertions, 3 deletions
diff --git a/rbutil/ipodpatcher/ipodio.h b/rbutil/ipodpatcher/ipodio.h
index 6aa675535a..e08d74a785 100644
--- a/rbutil/ipodpatcher/ipodio.h
+++ b/rbutil/ipodpatcher/ipodio.h
@@ -23,9 +23,14 @@
23#define __IPODIO_H 23#define __IPODIO_H
24 24
25#include <stdint.h> 25#include <stdint.h>
26#if !defined(_WIN32)
26#include <unistd.h> 27#include <unistd.h>
28#elif defined(_MSC_VER)
29/* MSVC uses a different name for ssize_t */
30#define ssize_t SSIZE_T
31#endif
27 32
28#ifdef __WIN32__ 33#if defined(__WIN32__) || defined(_WIN32)
29#include <windows.h> 34#include <windows.h>
30#else 35#else
31#define HANDLE int 36#define HANDLE int
diff --git a/rbutil/rbutilqt/base/bootloaderinstallbase.cpp b/rbutil/rbutilqt/base/bootloaderinstallbase.cpp
index a67dbc0386..b718db8729 100644
--- a/rbutil/rbutilqt/base/bootloaderinstallbase.cpp
+++ b/rbutil/rbutilqt/base/bootloaderinstallbase.cpp
@@ -139,7 +139,7 @@ void BootloaderInstallBase::downloadBlFinish(bool error)
139 139
140void BootloaderInstallBase::installBlfile(void) 140void BootloaderInstallBase::installBlfile(void)
141{ 141{
142 qDebug() << "[BootloaderInstallBase]" << __func__; 142 qDebug() << "[BootloaderInstallBase] installBlFile(void)";
143} 143}
144 144
145 145
diff --git a/rbutil/sansapatcher/sansaio.h b/rbutil/sansapatcher/sansaio.h
index d705c121b8..de25433765 100644
--- a/rbutil/sansapatcher/sansaio.h
+++ b/rbutil/sansapatcher/sansaio.h
@@ -23,7 +23,9 @@
23#define __SANSAIO_H 23#define __SANSAIO_H
24 24
25#include <stdint.h> 25#include <stdint.h>
26#include <unistd.h> 26#if !defined(_MSC_VER)
27#include <unistd.h> /* not available on MSVC */
28#endif
27 29
28#if defined(__WIN32__) || defined(_WIN32) 30#if defined(__WIN32__) || defined(_WIN32)
29#include <windows.h> 31#include <windows.h>