openbsd-ports/print/hplip/patches/patch-scan_sane_OrbliteScan_MacCommon_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

30 lines
743 B
Plaintext

$OpenBSD: patch-scan_sane_OrbliteScan_MacCommon_h,v 1.1 2018/10/31 14:14:30 ajacoutot Exp $
Index: scan/sane/OrbliteScan/MacCommon.h
--- scan/sane/OrbliteScan/MacCommon.h.orig
+++ scan/sane/OrbliteScan/MacCommon.h
@@ -1,12 +1,12 @@
#ifndef H_MacCommon
#define H_MacCommon
-#ifndef __linux__
+#if !defined(__linux__) && !defined(__OpenBSD__)
#include <CoreFoundation/CFPlugInCOM.h>
#define __CFPlugInCOM_Included__
#endif
-#ifdef __linux__
+#if defined(__linux__) || defined(__OpenBSD__)
# include "LinuxCommon.h"
#endif
@@ -257,7 +257,7 @@ typedef struct _GUID {
typedef GUID CLSID;
-#ifndef __linux__
+#if !defined(__linux__) && !defined(__OpenBSD__)
const extern CLSID CLSID_NULL;
const extern GUID GUID_NULL;
#else