ports/print/hplip/files/patch-scan_sane_OrbliteScan_MacCommon.h
Ben Woods 7c78a485cb print/hplip: Update to 3.19.10
print/hplip-plugin: Update to 3.19.6

Changes this release:
  https://developers.hp.com/hp-linux-imaging-and-printing/release_notes

PR:		241528
Reported by:	S Joseph <josephatwork@gmail.com>
2019-11-04 12:34:40 +00:00

31 lines
708 B
C

--- scan/sane/OrbliteScan/MacCommon.h.orig 2019-10-22 06:21:36 UTC
+++ scan/sane/OrbliteScan/MacCommon.h
@@ -1,7 +1,7 @@
#ifndef H_MacCommon
#define H_MacCommon
-#ifndef __linux__
+#if !defined(__linux__) && !defined(__FreeBSD__)
#include <CoreFoundation/CFPlugInCOM.h>
#define __CFPlugInCOM_Included__
#endif
@@ -10,6 +10,10 @@
# include "LinuxCommon.h"
#endif
+#if defined(__FreeBSD__)
+# include "BSDCommon.h"
+#endif
+
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
@@ -257,7 +261,7 @@ typedef struct _GUID {
typedef GUID CLSID;
-#ifndef __linux__
+#if !defined(__linux__) && !defined(__FreeBSD__)
const extern CLSID CLSID_NULL;
const extern GUID GUID_NULL;
#else