openbsd-ports/print/hplip/patches/patch-scan_sane_OrbliteScan_LinuxCommon_h
ajacoutot 0018626186 Update to hplip-3.18.10.
Very *lightly* tested so far; please send any regression to me directly.
2018-10-31 14:14:30 +00:00

19 lines
590 B
Plaintext

$OpenBSD: patch-scan_sane_OrbliteScan_LinuxCommon_h,v 1.1 2018/10/31 14:14:30 ajacoutot Exp $
Index: scan/sane/OrbliteScan/LinuxCommon.h
--- scan/sane/OrbliteScan/LinuxCommon.h.orig
+++ scan/sane/OrbliteScan/LinuxCommon.h
@@ -18,10 +18,12 @@ typedef u_int32_t UInt32;
typedef int32_t SInt32;
//typedef unsigned long UInt32;
//typedef signed long SInt32;
+#ifdef __linux__
typedef __S64_TYPE SInt64;
typedef __U64_TYPE UInt64;
typedef __S64_TYPE int64_t;
typedef __U64_TYPE uint64_t;
+#endif
//typedef unsigned long ULONG;
//typedef void* LPVOID;